logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Schouw <schou...@yahoo.com>
Subject Minor bug in the documentation
Date Tue, 25 May 2004 02:18:53 GMT

There are missing two % on the web page.

http://logging.apache.org/log4cxx/manual/Introduction.html

 

log4j.appender.stdout.layout.ConversionPattern=%5p [t] (F:L) - m%n

should be 

log4j.appender.stdout.layout.ConversionPattern=%5p [t] (F:L) - %m%n

 

and

log4j.appender.R.layout.ConversionPattern=%p t c - m%n
should be 

log4j.appender.R.layout.ConversionPattern=%p t c - %m%n


 

 

log4j.rootLogger=debug, stdout, R




log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayout




# Pattern to output the caller's file name and line number.log4j.appender.stdout.layout.ConversionPattern=%5p
[t] (F:L) - m%n




log4j.appender.R=org.apache.log4j.RollingFileAppenderlog4j.appender.R.File=example.log




log4j.appender.R.MaxFileSize=100KB




# Keep one backup filelog4j.appender.R.MaxBackupIndex=1




log4j.appender.R.layout=org.apache.log4j.PatternLayoutlog4j.appender.R.layout.ConversionPattern=%p
t c - m%n



		
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
Mime
View raw message