View by Classes

Findings - Overview

filtered MoreThanOneLogger (PMD)

Class contains more than one logger.

Further info on the wiki.
Normally only one logger is used in each class.
 
class Foo{
    Logger log = Logger.getLogger(Foo.class.getName());
    // It is very rare to see two loggers on a class, normally
    // log information is multiplexed by levels
    Logger log2= Logger.getLogger(Foo.class.getName());
}

     

Additional info can be found at this http://pmd.sourceforge.net/rules/logging-java.html#MoreThanOneLogger site.

1org.jcoderz.commons.util.LoggingProxy
 [60:14]