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

log messages show up in wrong log file

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.1
    • Fix Version/s: 1.10.2
    • Component/s: Logging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      A large number of event handlers are logging to the eventd.log file rather than the log file belonging to the event handler.

      to see this download the attached tgz and untar' it

      then execute:

      grep – '-Thread' eventd.log | grep -v EventIpcManagerDefaultImpl

      You can see a lot of messages that are doing the particulars of a deamon's event handling but are not in that daemon's log file

      There seems to be a little randomness about this I've also heard that sometimes the eventd messages are in collectd's logs

      Just trying to figure out how this worked before and what broke it.

      Note I have already hacked the onEvent method for collectd to force setting the prefix.

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              brozow Matt Brozowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: