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

Logging improvements to Notifd

    XMLWordPrintable

    Details

      Description

      Some of this is fixing additional fallout from the scripted changeover to Log4J 2, where ordering of arguments got swapped about.

      Event FOO-Connection-Test matched notice uei.foo/nodes/FOOTestNotification
      

      Some is making things TRACE that really are too noisy even for DEBUG.

      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/nodes/interfaceDown against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/nodes/interfaceDown did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.foo/nodes/nodeDown against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.foo/nodes/nodeDown did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/nodes/nodeDown against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/nodes/nodeDown did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/nodes/nodeLostService against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/nodes/nodeLostService did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/nodes/nodeAdded against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/nodes/nodeAdded did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/nodes/interfaceDeleted against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/nodes/interfaceDeleted did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/threshold/highThresholdExceeded against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/threshold/highThresholdExceeded did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/threshold/lowThresholdExceeded against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/threshold/lowThresholdExceeded did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/threshold/lowThresholdRearmed against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/threshold/lowThresholdRearmed did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Checking notification uei.opennms.org/threshold/highThresholdRearmed against event 2434050 with UEI uei.foo/nodes/FOOTestNotification
      2016-03-17 01:35:01,950 DEBUG [Notifd:BroadcastEventProcessor-Thread] o.o.n.c.NotificationManager: Notification UEI uei.opennms.org/threshold/highThresholdRearmed did not match UEI of event 2434050: uei.foo/nodes/FOOTestNotification
      

      Then there are also some annoying typos in the log messages.

        Attachments

          Activity

            People

            • Assignee:
              jeffg Jeff Gehlbach
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: