summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/resources/log4j.properties')
-rw-r--r--pdf-over-gui/src/main/resources/log4j.properties17
1 files changed, 12 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/resources/log4j.properties b/pdf-over-gui/src/main/resources/log4j.properties
index 626c7e3a..74a980b2 100644
--- a/pdf-over-gui/src/main/resources/log4j.properties
+++ b/pdf-over-gui/src/main/resources/log4j.properties
@@ -1,10 +1,17 @@
-log4j.rootLogger=TRACE, STDOUT
+log4j.rootLogger=TRACE, STDOUT, LOGFILE
# STDOUT appender
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%-5p | %d | %t | %c %x- %m%n
+log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
+log4j.appender.LOGFILE.file=${user.home}/.pdfover/pdfover.log
+log4j.appender.LOGFILE.MaxFileSize=100KB
+log4j.appender.LOGFILE.MaxBackupIndex=10
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%-5p | %d | %t | %c %x- %m%n
+
log4j.logger = INFO
# DETAIL LEVELS PDF-Over
@@ -17,9 +24,9 @@ log4j.logger.httpclient.wire = ERROR
# DETAIL LEVELS PDF-AS
-log4j.logger.org.pdfbox = INFO
-log4j.logger.org.apache.pdfbox.util = INFO
-log4j.logger.at.gv.egiz.pdfas = INFO
-log4j.logger.at.knowcenter = INFO
+log4j.logger.org.pdfbox = DEBUG
+log4j.logger.org.apache.pdfbox.util = DEBUG
+log4j.logger.at.gv.egiz.pdfas = DEBUG
+log4j.logger.at.knowcenter = DEBUG
log4j.logger.at.knowcenter.wag.egov.egiz.ldap = DEBUG
log4j.logger.org.apache.commons.httpclient = ERROR \ No newline at end of file