Bender

I tried the first solution. With the same log.properties file i get
duplicate entries in the log files.
Is it because there are two log4j.jar files  or any other issue

log4j.threshold=ALL
log4j.rootLogger=ALL,INFO_APPENDER,ERROR_APPENDER,DEBUG_APPENDER

log4j.appender.DEBUG_APPENDER=org.apache.log4j.RollingFileAppender
log4j.appender.DEBUG_APPENDER.MaxBackupIndex=50
log4j.appender.DEBUG_APPENDER.MaxFileSize=10MB
log4j.appender.DEBUG_APPENDER.file=data/tda/logs/Logger_Debug.txt
log4j.appender.DEBUG_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.DEBUG_APPENDER.layout.ConversionPattern=%d %-5p - %m%n
log4j.appender.DEBUG_APPENDER.Append=false
log4j.appender.DEBUG_APPENDER.Threshold=DEBUG
 
log4j.appender.INFO_APPENDER=org.apache.log4j.RollingFileAppender
log4j.appender.INFO_APPENDER.MaxBackupIndex=50
log4j.appender.INFO_APPENDER.MaxFileSize=10MB
log4j.appender.INFO_APPENDER.file=data/tda/logs/Logger_Info.txt
log4j.appender.INFO_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.INFO_APPENDER.layout.ConversionPattern=%d %-5p - %m%n
log4j.appender.INFO_APPENDER.Append=false
log4j.appender.INFO_APPENDER.Threshold=INFO

Thanks,
Kannan.S
-- 
View this message in context: 
http://www.nabble.com/Logging-done-in-the-wrong-files-tp25411329p25474093.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to