In most cases, the Logger can be declared static and final.class Foo{ Logger log = Logger.getLogger(Foo.class.getName()); // It is much better to declare the logger as follows // static final Logger log = Logger.getLogger(Foo.class.getName()); }Additional info can be found at this http://pmd.sourceforge.net/rules/logging-java.html#LoggerIsNotStaticFinal site.
| 1 | org.jcoderz.commons.util.LoggingProxy |
| [65:25] | |