Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4568

SLF4JLog does not work with JdbcDriver for Quickfix/J

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.3, 2.9.0
    • None
    • Unknown

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              eliotc Eliot Chen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: