From db52e4d66d60184d53a27ba4d6772461daacc03d Mon Sep 17 00:00:00 2001 From: tknall Date: Fri, 22 Mar 2013 08:57:51 +0000 Subject: Maintenance update (bugfixes, new features, cleanup...) Refer to /dok/RELEASE_NOTES-3.3.txt for further information. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/pdf-as/trunk@931 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../default/pdf-as/cfg/log4j.properties | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties (limited to 'pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties') diff --git a/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties new file mode 100644 index 0000000..5fe51c0 --- /dev/null +++ b/pdf-as-web/src/main/assembly/tomcat/configuration/default/pdf-as/cfg/log4j.properties @@ -0,0 +1,33 @@ +log4j.rootLogger = WARN, CONSOLE, ROLLINGFILE + +# DETAIL LEVELS +log4j.logger.at.gv.egiz.pdfas = INFO +log4j.logger.at.knowcenter = INFO +log4j.logger.org.pdfbox = INFO +log4j.logger.at.knowcenter.wag.egov.egiz.ldap = DEBUG +log4j.logger.org.apache.commons.httpclient.HttpMethodBase = ERROR +# Statistical logger +log4j.logger.statistic = INFO, STATISTIC + +# 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 + +# ROLLINGFILE +log4j.appender.ROLLINGFILE = org.apache.log4j.RollingFileAppender +log4j.appender.ROLLINGFILE.File = ${catalina.base}/logs/pdf-as.log +log4j.appender.ROLLINGFILE.MaxFileSize = 10240KB +log4j.appender.ROLLINGFILE.MaxBackupIndex = 9 +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 = ${catalina.base}/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 -- cgit v1.2.3