summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/log4j.properties
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-02-14 17:02:43 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-02-14 17:07:58 +0100
commit8ea3c89e8162dcf63592cdffab15926406a8a739 (patch)
treed6c8a188dcc90907caa00f5ea3b662c437db6a59 /pdf-over-gui/src/main/resources/log4j.properties
parentfa8ef7d3f87dbf1c7da8b44927083f945b5fad82 (diff)
downloadpdf-over-8ea3c89e8162dcf63592cdffab15926406a8a739.tar.gz
pdf-over-8ea3c89e8162dcf63592cdffab15926406a8a739.tar.bz2
pdf-over-8ea3c89e8162dcf63592cdffab15926406a8a739.zip
move log4j.properties to the correct location
Diffstat (limited to 'pdf-over-gui/src/main/resources/log4j.properties')
-rw-r--r--pdf-over-gui/src/main/resources/log4j.properties34
1 files changed, 34 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/resources/log4j.properties b/pdf-over-gui/src/main/resources/log4j.properties
new file mode 100644
index 00000000..f79fa984
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/log4j.properties
@@ -0,0 +1,34 @@
+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.STDOUT.Threshold = DEBUG
+
+log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
+log4j.appender.LOGFILE.file=${user.home}/.pdf-over/pdf-over.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.appender.LOGFILE.Threshold = INFO
+
+log4j.logger = INFO
+
+# DETAIL LEVELS PDF-Over
+log4j.logger.at.asit.pdfover = DEBUG
+log4j.logger.at.gv.egiz.pdfas = WARN
+log4j.logger.at.knowcenter = WARN
+log4j.logger.at.knowcenter.wag.egov.egiz.ldap = WARN
+log4j.logger.org.apache.commons.httpclient = ERROR
+log4j.logger.httpclient.wire = ERROR
+
+
+# DETAIL LEVELS PDF-AS
+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