[QFJ-110] Truncations / rolling archive of messages log Created: 22/Nov/06  Updated: 15/Apr/15  Resolved: 22/Nov/06

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Other Priority: Default
Reporter: Richard Pike Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None
Environment:

Any



 Description   

How can I setup the logs to be truncated (.messages.log) . I would like them truncated / rolled (ie 1..n logs are retained).



 Comments   
Comment by Steve Bate [ 22/Nov/06 ]

Hi Richard,

One option is to the SLF4J log factory with Log4J. The Log4J library has a couple of "appenders" for rolling files. See RollingFileAppender and DailyRollingFileAppender.

http://logging.apache.org/log4j/docs/api/org/apache/log4j/package-summary.html

Regards,

Steve

Comment by Richard Pike [ 24/Nov/06 ]

Can I get a sample of how to configure log4j

Comment by garima gangwar [ 15/Apr/15 ]

I also need a samle of this.. I tried this at my end but didn't work.
I also logged QFJ-834 for it but no luck.

Generated at Tue Jul 01 07:29:17 UTC 2025 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.