Mercurial > dive4elements > http-client
view conf/log4j.properties @ 124:7261c948425c 3.2.x
Rely on log4j's default initialization procedure
This should make upgrading to Log4j 2.x easier.
In passing, use latest Log4j 1.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 25 Feb 2022 15:15:04 +0100 |
parents | a1db30b33f43 |
children |
line wrap: on
line source
#### Log just errors and warnings to a file. log4j.rootLogger=DEBUG, BSH log4j.appender.BSH=org.apache.log4j.RollingFileAppender log4j.appender.BSH.File=./logs/console-client.log log4j.appender.BSH.MaxFileSize=5000KB log4j.appender.BSH.MaxBackupIndex=1 log4j.appender.BSH.layout=org.apache.log4j.PatternLayout log4j.appender.BSH.layout.ConversionPattern=%d [%t] %-5p %c - %m%n