Skip to content
Snippets Groups Projects
Commit 20982baa authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- minor: added debugging log entires for later reuse

parent d5d28a1c
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { ...@@ -84,6 +84,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
} }
public boolean checkFixity(List<Fixity> fixities, String storedEntityIdentifier, boolean isRelativePath) throws Exception { public boolean checkFixity(List<Fixity> fixities, String storedEntityIdentifier, boolean isRelativePath) throws Exception {
log.info("SLUBStoragePlugin.checkFixity() storedEntityIdentifier='" + storedEntityIdentifier + "' isRelativePath=" + isRelativePath); log.info("SLUBStoragePlugin.checkFixity() storedEntityIdentifier='" + storedEntityIdentifier + "' isRelativePath=" + isRelativePath);
// log.info("SLUBStoragePlugin.checkFixity() all fixities=" + fixities);
boolean result = true; boolean result = true;
if (fixities != null) if (fixities != null)
{ {
...@@ -107,6 +108,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { ...@@ -107,6 +108,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
(!Fixity.FixityAlgorithm.SHA256.toString().equals(algorithm)) && (!Fixity.FixityAlgorithm.SHA256.toString().equals(algorithm)) &&
(!Fixity.FixityAlgorithm.CRC32.toString().equals(algorithm)) (!Fixity.FixityAlgorithm.CRC32.toString().equals(algorithm))
) { ) {
// log.info("SLUBStoragePlugin.checkFixity() call checkFixityByPlugin (" + fixity + "," + storedEntityIdentifier + "," + isRelativePath + "," + result + ")");
result = checkFixityByPlugin(fixity, storedEntityIdentifier, isRelativePath, result); result = checkFixityByPlugin(fixity, storedEntityIdentifier, isRelativePath, result);
} else { } else {
log.info("SLUBStoragePlugin.checkFixity() calcMD5|calcSHA1|calcCRC32|calcSHA256=true"); log.info("SLUBStoragePlugin.checkFixity() calcMD5|calcSHA1|calcCRC32|calcSHA256=true");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment