From 8ffbed46e14324130cb1da42d18fef6d68c38f97 Mon Sep 17 00:00:00 2001 From: brinn <brinn> Date: Wed, 2 Jul 2008 16:20:06 +0000 Subject: [PATCH] change: add info log message when starting to create the extra copy SVN: 7013 --- .../java/ch/systemsx/cisd/datamover/LocalProcessor.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/datamover/source/java/ch/systemsx/cisd/datamover/LocalProcessor.java b/datamover/source/java/ch/systemsx/cisd/datamover/LocalProcessor.java index bc6c9a27a51..5a812febdff 100644 --- a/datamover/source/java/ch/systemsx/cisd/datamover/LocalProcessor.java +++ b/datamover/source/java/ch/systemsx/cisd/datamover/LocalProcessor.java @@ -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; } } -- GitLab