Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
Meridian-2015.1.0, 15.0.2
-
Security Level: Default (Default Security Scheme)
-
None
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);