mdc context values in logs are wrong

Description

I modified $OPENNMS_HOME/etc/log4j2.xml to log the MDC:

This resulted in lines like this in collectd.log:

Why are logs from VmwareCimCollector being logged for an XmlCollector based service context?

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Ron Roskens March 10, 2020 at 4:01 PM

This also affects the poller logs.

Ron Roskens February 13, 2020 at 2:27 PM

I also want to say there is a disconnect between the two nodes associated with the log message.

The MDC content is for nodeId 9942, while the log message was for nodeId 12936.

Details

Assignee

Reporter

Labels

HB Grooming Date

HB Backlog Status

Components

Affects versions

Priority

PagerDuty

Created December 11, 2019 at 3:50 PM
Updated November 1, 2021 at 8:05 PM