tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hole" <andremailingl...@gmail.com>
Subject Log4j
Date Tue, 07 Aug 2007 13:23:29 GMT
*Could you tell me how to create different log files for different levels?

*log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x -
%log4j.appender.A1.Threshold=DEBUG
log4j.appender.A1.File=./LogonApplication_Debug.log
log4j.appender.A1.Append=true

I want a file for each level (INFO, DEBUG, WARNING...)

Thanks a lot

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message