diff --git a/src/main/java/altk/comm/engine/CommEngine.java b/src/main/java/altk/comm/engine/CommEngine.java index 7a3e886..46cf8f0 100644 --- a/src/main/java/altk/comm/engine/CommEngine.java +++ b/src/main/java/altk/comm/engine/CommEngine.java @@ -106,9 +106,12 @@ public abstract class CommEngine extends HttpServlet ServletContext servletContext = getServletContext(); confDirPath = servletContext.getInitParameter(getConfDirContextName()); + System.out.println("Config directory is configured to be '" + confDirPath + "'. Make sure it and its content are readable by user 'tomcat'"); runtimeDirPath = servletContext.getInitParameter(getRunTimeDirContextName()); - File propertiesFile = new File(confDirPath + "/properties"); + System.out.println("Runtime directory is configured to be '" + runtimeDirPath + "'. Make sure it and its content are readable by user 'tomcat'"); + File propertiesFile = new File(confDirPath + "/properties"); + // Configure log4j using log4j.properties file, \ // sibling to the engine properties file. // This change is backward compatible with placing the log4j.properties file in