Bug 846628

Summary: Use of non-standard log names should be changed or documented
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2.1.GACC: epp-bugs, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
List of several classes with non-standard log names none

Description Martin Weiler 2012-08-08 09:55:04 UTC
Description of problem:
There are several non-standard log names that are not documented. For example, in the PortalApplication class, the logger is defined as:
    protected static Log log = 
                     ExoLogger.getLogger("portal:PortalApplication");
instead of something more standard such as:
    protected static Log log = 
                     ExoLogger.getLogger(PortalApplication.class);

These non-standard log names should be changed to the standard naming conventions, or documented somewhere so that developers are able to use logging effectively.

Comment 1 Clay 2012-08-08 11:29:14 UTC
Created attachment 602999 [details]
List of several classes with non-standard log names