참조 : http://wiki.apache.org/jakarta-commons/Logging/StaticLog
로깅을 보통 두 가지 방법 중 하나를 사용할 것이다.
public class Foo {
private Log log = LogFactory.getLog(Foo.class);
….
}그리고
public class Foo {
private static Log log = LogFactory.getLog(Foo.class);
….
}static 키워드를 사용하는 것이 특정 상황에서는 이익이 될 수도 있지만, 그렇지