diff options
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java index 0fafca4..954bcce 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java @@ -68,10 +68,12 @@ public class PdfASServletContextListener implements ServletContextListener e.printStackTrace();
}
- if (work_dir != null)
+ if (work_dir != null && work_dir.length() > 0)
{
+ logger.info("The PDF-AS work-dir context parameter is present (and not empty).");
base_dir = work_dir;
}
+ logger.info("The PDF-AS application will be initialized for the directory: " + base_dir);
SettingsReader.initializeForWeb(base_dir);
PropertyConfigurator.configure(SettingsReader.CONFIG_PATH + "log4j.properties");
|