|
From: Toli K. <to...@ma...> - 2007-05-30 01:17:19
|
TS, We are using the RollingFileAppender (almost same as DailyRollingFileAppender). See our example at http://trac.marketcetera.org/trac.fcgi/browser/platform/tags/0.3.1/core/src/main/resources/log4j-appliance.properties Seems like you may have the appender defined, but since everything is showing up on stdout your log4.rootLogger line may not be configured correctly to point to that. Double-check that and you may be able to to get it working. look at the sample file, line 14: it points to file appender, and file is defined above to use RollingFileAppender On 5/29/07, t.s. <tru...@cb...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > >> 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. > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |