diff --git a/src/main/java/org/olat/core/util/WebappHelper.java b/src/main/java/org/olat/core/util/WebappHelper.java index 9158945e3a7053da90a89a32065039eee8fce6ee..4ad205bee29cefeb862c70faa207bc09cc30e704 100644 --- a/src/main/java/org/olat/core/util/WebappHelper.java +++ b/src/main/java/org/olat/core/util/WebappHelper.java @@ -98,6 +98,13 @@ public class WebappHelper implements Initializable, Destroyable, ServletContextA throw new StartupException("Error getting canonical context root.", e); } servletContextPath = servletContext.getContextPath(); + + File fil = new File(fullPathToSrc); + if(fil.exists()){ + log.info("Path to source set to: " + fullPathToSrc); + } else { + log.info("Path to source doesn't exist (only needed for debugging purpose): " + fullPathToSrc); + } testUtf8FileSystem(); logStartup(); @@ -182,7 +189,7 @@ public class WebappHelper implements Initializable, Destroyable, ServletContextA //String srcPath = getContextRoot() + "/" + relPathToSrc; File fil = new File(fullPathToSrc); if(fil.exists()){ - log.info("Path to source set to: " + fullPathToSrc); + log.debug("Path to source set to: " + fullPathToSrc); }else{ if (Settings.isDebuging() || I18nModule.isTransToolEnabled()) { log.error("Path to source wrong, debugging may not work as expected: " + fullPathToSrc, new Exception("getSourcePath"));