hi there,

is there any reason known, why the console appender
(org.apache.log4j.ConsoleAppender) do not print any output to system.out on
a unix system?

here's the .property file:

#Set root category to debug and its only appender to R
log4j.rootCategory=DEBUG, stdout, R


#stdout set to be a console appender
log4j.appender.stdout=org.apache.log4j.ConsoleAppender

#stdout uses PatternLayout
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] (%F:%L) - %m%n

#R appender
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=LHMORe.log
log4j.appender.R.MaxFileSize=100KB

#Keep one backup file
log4j.appender.R.MaxBackupIndex=1

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d %-5p [%t] (%F:%L) - %m%n

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to