Bug 1008901

Summary: Some serious log messages don't have id to identify them
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: mod_clusterAssignee: Jean-frederic Clere <jclere>
Status: CLOSED CURRENTRELEASE QA Contact: Michal Karm Babacek <mbabacek>
Severity: low Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: mbabacek, smumford
Target Milestone: DR5   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6, it was found that two log messages were not localized correctly. As a result users did not see a MODCLUSTER{ID} message nor a translation. In this release, two messages have been added: MODCLUSTER000044 and MODCLUSTER000045. The messages now appear as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:37:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2013-09-17 10:11:45 UTC
According to https://issues.jboss.org/browse/ANDIAMO-7 all serious log messages should have a unique code that can be used to identify them.
As a part of logging unification tests for EAP I found:
modcluster/core/src/main/java/org/jboss/modcluster/load/metric/impl/AverageSystemLoadMetric.java
 - 52   logger.warnf("%s is not supported on this system and will be disabled.", this.getClass().getSimpleName());
modcluster/core/src/main/java/org/jboss/modcluster/load/metric/impl/SystemMemoryUsageLoadMetric.java
 - 64   this.logger.warn(this.getClass().getSimpleName() + " requires com.sun.management.OperatingSystemMXBean.");

these should be moved to ModClusterLogger.java as well

version: 1.2.4.Final

Comment 1 Jean-frederic Clere 2013-12-17 07:34:44 UTC
That requires a new version of mod_cluster.

Comment 2 Michal Karm Babacek 2014-03-21 10:46:10 UTC
02:43:20,779 WARN  [org.jboss.modcluster] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) MODCLUSTER000045: AverageSystemLoadMetric is not supported on this system and will be disabled.


VERIFIED