diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2013-12-11 12:03:12 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2013-12-11 12:03:12 +0100 |
commit | 84553d9bc5eb670ee6f9cf21b3f9aa516530bc56 (patch) | |
tree | 49bce0129938744fba9051f38b7cdb3053bc1796 /pdf-as-lib/src/configuration/cfg/log4j.properties | |
parent | 58ec3119edaed4ac721f47e36e05b9337590681a (diff) | |
download | pdf-as-4-84553d9bc5eb670ee6f9cf21b3f9aa516530bc56.tar.gz pdf-as-4-84553d9bc5eb670ee6f9cf21b3f9aa516530bc56.tar.bz2 pdf-as-4-84553d9bc5eb670ee6f9cf21b3f9aa516530bc56.zip |
changed to ECCelerate, added default configuration
Diffstat (limited to 'pdf-as-lib/src/configuration/cfg/log4j.properties')
-rw-r--r-- | pdf-as-lib/src/configuration/cfg/log4j.properties | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pdf-as-lib/src/configuration/cfg/log4j.properties b/pdf-as-lib/src/configuration/cfg/log4j.properties new file mode 100644 index 00000000..242c1085 --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/log4j.properties @@ -0,0 +1,42 @@ +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 +log4j.logger.at.knowcenter.wag.egov.egiz.sig.connectors.MOASSRepsonseLogger = DEBUG, MOASS_FILE +log4j.additivity.at.knowcenter.wag.egov.egiz.sig.connectors.MOASSRepsonseLogger = false +# 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 = ${pdf-as.work-dir}/logs/pdf-as.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 + +# 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 + +# MOA-SS Response +log4j.appender.MOASS_FILE = org.apache.log4j.DailyRollingFileAppender +log4j.appender.MOASS_FILE.datePattern = '-'dd'.log' +log4j.appender.MOASS_FILE.File = ${pdf-as.work-dir}/logs/moa_ss_responses.log +log4j.appender.MOASS_FILE.layout = org.apache.log4j.PatternLayout +log4j.appender.MOASS_FILE.layout.ConversionPattern = %-6r %d{ISO8601} %-5p %40.40c %x - %m\n
\ No newline at end of file |