[ 
https://issues.apache.org/jira/browse/CAMEL-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132519#comment-13132519
 ] 

Willem Jiang commented on CAMEL-4568:
-------------------------------------

Hi,

I just checked the code, it looks like Quickfix doesn't supports to let you 
configure two logger at the same time.
Which means even you switch the code let the JdbcDriver work, you still can't 
get the SLF4jLog work for you at the same time.
How about you just update configuration instead of changing the code.

                
> SLF4JLog does not work with JdbcDriver for Quickfix/J
> -----------------------------------------------------
>
>                 Key: CAMEL-4568
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4568
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Eliot Chen
>              Labels: Quickfix
>
> I discovered that to use SLF4J log, JdbcDriver cannot be present in the 
> Quickfix/J config file. Otherwise, the default LogFactory - ScreenLogFactory 
> will be used. We need JdbcDriver setting as it is used for persisting FIX 
> messages into database for FIX session management.
> After debugging the code, I found out that this could be fixed by swapping 
> those two lines in QuickfixjEngine.java
> 298: isJdbcLog(settings, impliedLogFactories);
> 299: isSL4JLog(settings, impliedLogFactories);
> Can we please have this fixed for the next release?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to