[QFJ-834] messages.log and event.log file are not created using SLF4JLogFactory Created: 10/Apr/15 Updated: 25/Dec/15 Resolved: 25/Dec/15 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | garima gangwar | Assignee: | Unassigned |
Resolution: | Not a bug | Votes: | 0 |
Labels: | None |
Description |
I have quickfixj setup in my application and store messages.log and event.log at a location. I have configured RollingFileAppender for these logs but it is not working for quickfix logs and logs are not not rolling over. <appender name="FIXMESSAGE" class="org.apache.log4j.RollingFileAppender"> ][%t][%-5p][%c {2}]-%m%n"/></layout> </appender> <appender name="FIXEVENT" class="org.apache.log4j.RollingFileAppender"> <param name="Threshold" value="INFO"/> <param name="File" value="../log/fixlog/FIX.4.2-sendercompID-targetCompID.messages.log" /> <param name="Append" value="true" /> <param name="MaxFileSize" value="25KB"/> <param name="MaxBackupIndex" value="15"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[%d{dd MMM yyyy HH:mm:ss,SSS}][%t][%-5p][%c{2} ]-%m%n"/> <root> Just to add, I have also defined below fix configuration as follows: SLF4JLogEventCategory=$ {fix.connection.config.senderCompID}.${fix.connection.config.targetCompID}.eventsSLF4JLogIncomingMessageCategory=${fix.connection.config.senderCompID} .$ {fix.connection.config.targetCompID}.incomingSLF4JLogOutgoingMessageCategory=${fix.connection.config.senderCompID}.${fix.connection.config.targetCompID} .outgoing Can anyone suggest something here? |
Comments |
Comment by Christoph John [ 13/Apr/15 ] |
Please ask on the mailing list https://lists.sourceforge.net/lists/listinfo/quickfixj-users This is a bug tracker. |
Comment by garima gangwar [ 22/Apr/15 ] |
Can you please open this issue. It can be an issue in quickfixj. |