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


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. In this case, JdbcDriver 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