Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-214

Does SLF4J/Log4J combo ignore changes to the log4j.properties file?

    Details

    • Type: Other
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      I have an app that's using SLF4JLogFactory and i have the slf4j-logj4 jar in the path, so in the end it's using log4j to print log messages.

      The entries in the log4j.properties file are parsed and used when the app starts up, so whatever i have setup drives the filtering of the output.
      However, if i modify the log4j file after the app starts up, the changes never take effect - the same messages get printed, regardless of whether or not i turn certain categories on/off.

      Anybody else seeing something similar? I couldn't trace through in the QFJ code where that would make a difference - seems that SLF4J/Log4J would handle that on their own.

      Just wondering if maybe we are not setting SLF4J/Log4J up correctly.

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              toli Toli Kuznets
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: