notifd.log - Info if message was send

Description

It would be nice to log a short INFO when a notification was send.

Only on DEBUG you get an information like this:

2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: destination : xxx
2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: text message: The SNMP service poll on interface x.x.x.x (x.x.x.x) on node xxx failed at Thursday, October 14, 2010 8:47:18 AM CEST. Full Text: SNMP outage identified on interface x.x.x.x with reason code: SNMP poll failed, addr=x.x.x.x oid=.1.3.6.1.2.1.1.2.0.
2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: num message : 111-16386
2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: subject : SNMP down on x.x.x.x (x.x.x.x) on node xxx.
2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: node : 2360
2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: interface : x.x.x.x
2010-10-14 08:47:18,562 DEBUG [Notifd:BroadcastEventProcessor] BroadcastEventProcessor: service : SNMP

Environment

OpenNMS 1.8.10 running on SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 2

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger September 2, 2011 at 3:28 PM

Added an info-level log message when a notification is stored. Marking as fixed.

commit b1c1c388ddfe1a395220ebc66a1eda380ce35989

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created July 14, 2011 at 9:44 AM
Updated January 27, 2017 at 4:20 PM
Resolved September 2, 2011 at 3:28 PM