Skip to content
Snippets Groups Projects
Commit 8ffbed46 authored by brinn's avatar brinn
Browse files

change: add info log message when starting to create the extra copy

SVN: 7013
parent 2e912188
No related branches found
No related tags found
No related merge requests found
......@@ -272,10 +272,16 @@ public final class LocalProcessor implements IPathHandler, IRecoverableTimerTask
return;
}
}
if (operationLog.isInfoEnabled())
{
operationLog.info(String.format("Creating extra copy of directory '%s' to '%s'.",
path.getAbsolutePath(), tempDir.getAbsoluteFile()));
}
final boolean ok = copier.copyDirectoryImmutably(path, tempDir, null);
if (ok == false)
{
notificationLog.error(String.format("Creating extra copy of '%s' failed.", path));
notificationLog.error(String.format("Creating extra copy of '%s' failed.", path
.getAbsolutePath()));
return;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment