Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6876

Log4j2 configuration breaks the instrumentation logger

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.13.4
    • Fix Version/s: 14.0.0
    • Component/s: Logging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The instrumentation logger requires plain text files with the data on a very specific format.

      With log4j2, all the files share the same appender configuration. If the format is changed on the appender, the instrumentation logger won't work.

      The current appender does the aggregation on compressed files, and for this reason, the instrumentation logger won't be able to read the rotated files, inly the latest file which could have just a few minutes on big installations.

      The instrumentation logger must have its own appender, to avoid potential problems.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brozow Matt Brozowski
              Reporter:
              agalue Alejandro Galue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: