You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Andrew Hole <an...@gmail.com> on 2007/08/07 15:53:18 UTC

Different log files

*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 an output file for each level (INFO, DEBUG, WARNING...)

Thanks a lot