aboutsummaryrefslogtreecommitdiff
path: root/work/cfg/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'work/cfg/log4j.properties')
-rw-r--r--work/cfg/log4j.properties12
1 files changed, 11 insertions, 1 deletions
diff --git a/work/cfg/log4j.properties b/work/cfg/log4j.properties
index f4e00e6..0c34a04 100644
--- a/work/cfg/log4j.properties
+++ b/work/cfg/log4j.properties
@@ -3,8 +3,10 @@ log4j.rootLogger = WARN, CONSOLE, ROLLINGFILE
# DETAIL LEVELS
log4j.logger.at.gv.egiz.pdfas = INFO
log4j.logger.at.knowcenter = INFO
-log4j.logger.at.gv.egiz.pdfas.performance = DEBUG
+log4j.logger.org.pdfbox = INFO
log4j.logger.org.apache.commons.httpclient.HttpMethodBase = ERROR
+# Statistical logger
+#log4j.logger.statistic = INFO, STATISTIC
# CONSOLE
log4j.appender.CONSOLE = org.apache.log4j.ConsoleAppender
@@ -20,3 +22,11 @@ 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
+
+# STATISTIC
+log4j.appender.STATISTIC = org.apache.log4j.RollingFileAppender
+log4j.appender.STATISTIC.File = ${pdf-as.work-dir}/logs/pdf-as-statistic.csv
+log4j.appender.STATISTIC.MaxFileSize = 10240KB
+log4j.appender.STATISTIC.MaxBackupIndex = 9
+log4j.appender.STATISTIC.layout = org.apache.log4j.PatternLayout
+log4j.appender.STATISTIC.layout.ConversionPattern = %d{dd.MM.yyyy HH:mm:ss};%m%n