Tag Archives: logging

Uniform Logging

Application logging always seems to become one of those code smells, typically regarding duplication of code, or conversely, non-uniform log messages.
There are many different ways to log a message in Java, but variations on the following pattern are common:

public class SomeClass {

private static final Log LOG = LogFactory.getLog(SomeClass.class);

public [...]

Posted in Java | Also tagged , | Leave a comment