|
From: t.s. <tru...@cb...> - 2007-05-29 22:53:47
|
>> I wish to change these logs so they roll on a 24 hour basis. Is it >> possible somebody could send me a sample configuration of how to achieve >> this. > See my previous mail how to use SLF4J. If you choose log4j, you can use the > DailyRollingFileAppender. Just edit the log4j.properties found in your CLASSPATH to contain these lines: > log4j.rootCategory=ALL, Default > log4j.appender.Default=org.apache.log4j.DailyRollingFileAppender > log4j.appender.Default.File=<path of your log file> > log4j.appender.Default.DatePattern=-yyyyMMdd My apologies for resurrecting an old thread, but did anyone had this log4j and DailyRollingFileAppender setup working with QuickFix/J ? I tried it and the log shows on screen, but there are no log files created anywhere... Thanks in advance, t.s. |