aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-06-01 08:36:30 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-06-01 08:36:30 +0000
commit4915f0a2633aaba22ad5cabab8589ced906126ab (patch)
treed13f74ea5dd889704c3eafa880a2ea21895e6433 /src
parentcb578188a17c9f7adfe3c0170cc567a4d266c828 (diff)
downloadpdf-as-3-4915f0a2633aaba22ad5cabab8589ced906126ab.tar.gz
pdf-as-3-4915f0a2633aaba22ad5cabab8589ced906126ab.tar.bz2
pdf-as-3-4915f0a2633aaba22ad5cabab8589ced906126ab.zip
minor changes
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@121 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java4
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");