Source

xwork / test / log4j.properties

Full commit
log4j.rootLogger = WARN, stdout

log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Threshold = WARN
log4j.appender.stdout.Target   = System.out
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern = %d{ISO8601} %-5p [%F:%L] : %m%n

# set to info to let the code be executed when doing unit test for this interceptor
log4j.category.com.opensymphony.xwork.interceptor.LoggingInterceptor=INFO
log4j.category.com.opensymphony.xwork.interceptor.TimerInterceptor=INFO

# set to debug to let the code be executed when doing unit test for this interceptor
log4j.category.com.opensymphony.xwork.interceptor.ParametersInterceptor=DEBUG

# set to debug for testing timer interceptor with custom log category
log4j.category.com.mycompany.myapp.actiontiming=DEBUG