Fixing Logging Prefix/Category on several classes

Description

There are still several classes using the old prefix/category convention for logging after migrating to Log4j2 with SLF4.

For this reason, the messages on those classes are not properly routed to the log.

For example:

private final Logger logger = LoggerFactory.getLogger("OpenNMS.Poller." + JCifsMonitor.class.getName());

should be:

private final Logger logger = LoggerFactory.getLogger(JCifsMonitor.class);

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Alejandro Galue May 5, 2015 at 8:49 AM

Fixed in foundation on revision e782249d46c07f54f28746cedca7e17f7c8bc51d.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created May 4, 2015 at 5:05 PM
Updated May 5, 2015 at 12:48 PM
Resolved May 5, 2015 at 8:49 AM

Flag notifications