Skip to content
Snippets Groups Projects
Commit edd6f519 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added debug infos

parent ed6c8966
Branches
No related tags found
No related merge requests found
Pipeline #3392 passed
......@@ -5,7 +5,7 @@
<pl:initParameters>
<fr:x_form xmlns:fr="http://com/exlibris/digitool/common/forms/xmlbeans">
<form_name>SLUBStoragePlugin_Params</form_name>
<description>SLUBTreeStoragePlugin_parameters_form</description>
<description>SLUBStoragePlugin_parameters_form</description>
<version>0.1</version>
<grid_x>1</grid_x>
<md_format>1</md_format>
......@@ -70,7 +70,7 @@
</fr:x_form>
</pl:initParameters>
<pl:description>SLUB Storage Plugin</pl:description>
<pl:version>2.820</pl:version>
<pl:version>2.821</pl:version>
<pl:materialType>DIGITAL</pl:materialType>
<pl:module>Repository</pl:module>
<pl:generalType>TASK</pl:generalType>
......
......@@ -192,7 +192,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
is.close();
long endtime = System.currentTimeMillis();
var pathname = (isRelativePath ? DIR_ROOT : "") + storedEntityIdentifier;
log.info("SLUBStoragePlugin.checkFixity() result=" + result + " (builtin " + throughput(starttime, endtime, pathname)+ ")");
log.info("SLUBStoragePlugin.checkFixity() pathname='"+ pathname + "' result=" + result + " (builtin " + throughput(starttime, endtime, pathname)+ ")");
return result;
}
......@@ -233,7 +233,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
boolean result = fixity.getResult();
long endtime = System.currentTimeMillis();
var pathname = (isRelativePath ? DIR_ROOT : "") + storedEntityIdentifier;
log.info("SLUBStoragePlugin.checkFixityByPlugin() result=" + result + " (plugins " + throughput(starttime, endtime, pathname)+ ")");
log.info("SLUBStoragePlugin.checkFixityByPlugin() pathname='" + pathname + "' result=" + result + " (plugins " + throughput(starttime, endtime, pathname)+ ")");
return result;
}
......@@ -370,8 +370,8 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
log.info("SLUBStoragePlugin.copyStream()");
String filesHandlingMethod = FILES_HANDLING_METHOD;
String srcPath = storedEntityMetadata.getCurrentFilePath();
log.debug("SLUBStoragePlugin.copyStream() destPath='" + destPath + "'");
log.debug("SLUBStoragePlugin.copyStream() srcPath='" + srcPath + "'");
log.info("SLUBStoragePlugin.copyStream() destPath='" + destPath + "'");
log.info("SLUBStoragePlugin.copyStream() srcPath='" + srcPath + "'");
log.debug("SLUBStoragePlugin.copyStream() filesHandlingMethod='" + filesHandlingMethod + "'");
String pid = storedEntityMetadata.getEntityPid();
log.debug("SLUBStoragePlugin.copyStream() pid='" + pid + "'");
......@@ -397,7 +397,6 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
}
else
{
long starttime = System.currentTimeMillis();
FileUtil.copyFile(srcPath, destPath);
saveDestPathsTmpFile(iePid, pid, destPath);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment