Hello Vid, Unfortunately, the SLFJ support in the QuickFIX/J component was somehow forgotten. It currently supports the ScreenLog, FileLog and JdbcLog. I'll submit a patch this weekend to provide support for the SLFJLog and for custom log (and message store) implementations.
Regards, Steve On 11/3/10 8:36 PM, "vcheruvu" <v_cher...@hotmail.com> wrote: > > Hi, > > I am using Camel-quickfix 2.5. I have set my log4j setting to write to file. > Yet, i am seeing camel-quickfix logging to my console as shown below. I am > trying to ensure below logging are written to file instead to my console. I > have pasted my log4j setting below as well. Could you please advise if I am > missing something? > > console output > <20101104-00:17:53, FIX.4.2:TEST->EXEC, event> (Session FIX.4.2:TEST->EXEC > schedule is daily, 11:25:00-UTC - 11:20:00-UTC) > <20101104-00:17:53, FIX.4.2:TEST->EXEC, event> (Created session: > FIX.4.2:TEST->EXEC) > <20101104-00:17:53, FIX.4.2:TEST->BROKER, event> (Session > FIX.4.2:TEST->BROKER schedule is daily, 11:25:00-UTC - 11:20:00-UTC) > <20101104-00:17:53, FIX.4.2:TEST->BROKER, event> (Created session: > FIX.4.2:TEST->BROKER) > <20101104-00:17:54, FIX.4.2:TEST->BROKER, event> (Initiated logon request) > <20101104-00:17:55, FIX.4.2:TEST->BROKER, event> (Received logon) > > > > log4j.xml settings > ..... > > <appender name="DAILY_FILE" > class="org.apache.log4j.DailyRollingFileAppender"> > > > > > <layout class="org.apache.log4j.PatternLayout"> > > </layout> > </appender> > > ..... > > <logger name="org.apache.camel" additivity="false"> > <level value="INFO"/> > <appender-ref ref="DAILY_FILE"/> > </logger> > > <root> > <level value="INFO"/> > <appender-ref ref="DAILY_FILE"/> > </root> > > > ..... > > > Kind regards, > -Vid-