aboutsummaryrefslogtreecommitdiff
path: root/work/cfg/log4j.properties
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-03-20 11:41:03 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-03-20 11:41:03 +0000
commit440e74f9de28d2df476e1b98f952e98a80c6d7e4 (patch)
treefebb2b3dbccb2baf72efc73e20bfb6953fbaba39 /work/cfg/log4j.properties
parent3230d71393a3e48d95f5a8e0b659d471abbaf66e (diff)
downloadpdf-as-3-440e74f9de28d2df476e1b98f952e98a80c6d7e4.tar.gz
pdf-as-3-440e74f9de28d2df476e1b98f952e98a80c6d7e4.tar.bz2
pdf-as-3-440e74f9de28d2df476e1b98f952e98a80c6d7e4.zip
System property "pdf-as.work-dir" for definition of the work directory introduced. Should be used instead of context/web.xml parameter. Additionally the profile configuration has been updated including the images.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@254 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'work/cfg/log4j.properties')
-rw-r--r--work/cfg/log4j.properties44
1 files changed, 18 insertions, 26 deletions
diff --git a/work/cfg/log4j.properties b/work/cfg/log4j.properties
index e08f2b0..e42618c 100644
--- a/work/cfg/log4j.properties
+++ b/work/cfg/log4j.properties
@@ -1,29 +1,21 @@
-# An example log4j configuration file that outputs to System.out. The
-# output information consists of relative time, log level, thread
-# name, logger name, nested diagnostic context and the message in that
-# order.
+log4j.rootLogger = INFO, CONSOLE
-# For the general syntax of property based configuration files see the
-# documenation of org.apache.log4j.PropertyConfigurator.
+# DETAIL LEVELS
+log4j.logger.org.pdfbox = INFO
+log4j.logger.at.gv.egiz = DEBUG
+log4j.logger.at.knowcenter = DEBUG
-log4j.rootLogger=INFO, CA
-log4j.logger.org.pdfbox=INFO
-log4j.logger.org.apache.commons=INFO
+# CONSOLE
+log4j.appender.CONSOLE = org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout = org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern = [%-5p@%d{dd.MM.yyyy HH:mm:ss}] %c:%M:%L - %m%n
+#log4j.appender.CONSOLE.threshold = ERROR
+log4j.appender.CONSOLE.Target = System.out
-# CA is set to be a ConsoleAppender which outputs to System.out.
-log4j.appender.CA=org.apache.log4j.ConsoleAppender
-log4j.appender.CA.layout=org.apache.log4j.PatternLayout
-log4j.appender.CA.layout.ConversionPattern=%d{ISO8601} %-4r %-5p [%t] %37c %3x - %m%n
-
-# FA is set to be a FileAppender which outputs to the corresponding log file
-log4j.appender.FA=org.apache.log4j.FileAppender
-log4j.appender.FA.File=logs/pdf-as.log
-log4j.appender.FA.Append=false
-log4j.appender.FA.layout=org.apache.log4j.PatternLayout
-log4j.appender.FA.layout.ConversionPattern=%d{ISO8601} %-4r %-5p [%t] %c: %m%n
-
-
-#log4j.logger.at.knowcenter.wag.egov.egiz = TRACE
-#log4j.logger.at.knowcenter.wag.egov.egiz.ldap = TRACE
-
-#log4j.logger.at.gv.egiz = TRACE
+# ROLLINGFILE
+log4j.appender.ROLLINGFILE = org.apache.log4j.RollingFileAppender
+log4j.appender.ROLLINGFILE.File = ${catalina.base}/logs/esig.log
+log4j.appender.ROLLINGFILE.MaxFileSize = 10240KB
+log4j.appender.ROLLINGFILE.MaxBackupIndex = 1
+log4j.appender.ROLLINGFILE.layout = org.apache.log4j.PatternLayout
+log4j.appender.ROLLINGFILE.layout.ConversionPattern = [%-5p@%d{dd.MM.yyyy HH:mm:ss}] %c:%M:%L - %m%n