Poor Logging Practice: Multiple Loggers

Abstract
Use multiple loggers rather than logging levels in a single class.

Description
Good logging practice dictates the use of a single logger with different logging levels for each class.

Examples
The following code errantly declares multiple loggers.

public class MyClass { private final static Logger good = Logger.getLogger(MyClass.class); private final static Logger bad = Logger.getLogger(MyClass.class); private final static Logger ugly = Logger.getLogger(MyClass.class); ...	}