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

Improve logging for EventIpcManagerDefaultImpl

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 20.0.0, Meridian-2016.1.5
    • 20.0.1, Meridian-2017.1.0
    • Eventd, Logging
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      Sometimes, it is important to know which events are being received by certain OpenNMS daemons, and also which events are being sent by the OpenNMS daemons.

      Having the log level at DEBUG for the EventIpcManagerDefaultImpl class can give you that information without the need of enabling DEBUG for several daemons.

      Unfortunately, the current implementation doesn't show enough information when "sending" an event, and shows too much information (and hard to consume) when "receiving" an event.

      It would be nice to homologate the logging messages by re-implementing the "toString" method for all the "Event" classes, in order to show all the fields, ignoring the null ones and the empty collections.

      Attachments

        Activity

          People

            agalue Alejandro Galue
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.