From 8faf3f282be1f3c9cb43adf26822663d2bfb7729 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Thu, 21 Sep 2017 13:16:04 +0000 Subject: [PATCH] SSDM-5558: Log session workspace root directory SVN: 38747 --- .../server/plugins/tasks/PluginTaskInfoProvider.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/PluginTaskInfoProvider.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/PluginTaskInfoProvider.java index 772d31641d2..33184ce4751 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/PluginTaskInfoProvider.java +++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/PluginTaskInfoProvider.java @@ -21,7 +21,11 @@ import java.util.ArrayList; import java.util.List; import java.util.Properties; +import org.apache.log4j.Logger; + import ch.rinn.restrictions.Private; +import ch.systemsx.cisd.common.logging.LogCategory; +import ch.systemsx.cisd.common.logging.LogFactory; import ch.systemsx.cisd.common.properties.PropertyParametersUtil; import ch.systemsx.cisd.common.properties.PropertyParametersUtil.SectionProperties; import ch.systemsx.cisd.common.properties.PropertyUtils; @@ -44,6 +48,9 @@ public class PluginTaskInfoProvider implements IPluginTaskInfoProvider { public static final String STOREROOT_DIR_KEY = "storeroot-dir"; + private static final Logger operationLog = LogFactory.getLogger(LogCategory.OPERATION, + PluginTaskInfoProvider.class); + /** name of archiver properties section */ @Private static final String ARCHIVER_SECTION_NAME = "archiver"; @@ -145,6 +152,7 @@ public class PluginTaskInfoProvider implements IPluginTaskInfoProvider reportingPlugins.check(false); sequenceDatabasePlugins.check(false); archiverTaskFactory.check(storeRoot); + operationLog.info("Session workspace root directory: " + sessionWorkspaceRootDir); } @Override -- GitLab