|
Struts example source code file (log4j.properties)
The Struts log4j.properties source codelog4j.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.xwork2.interceptor.LoggingInterceptor=INFO log4j.category.com.opensymphony.xwork2.interceptor.TimerInterceptor=INFO # set to debug to let the code be executed when doing unit test for this interceptor log4j.category.com.opensymphony.xwork2.interceptor.ParametersInterceptor=DEBUG # set to debug for testing timer interceptor with custom log category log4j.category.com.mycompany.myapp.actiontiming=DEBUG Other Struts examples (source code examples)Here is a short list of links related to this Struts log4j.properties source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.