log4j의 additivity 속성은 상위 appender를 상속받는 것을 제어할 수 있게 해주는 옵션입니다.
두개의 로거가 같은 appender를 사용하여 동일한 메시지가 중복으로 출력이 될때
둘 중 하나의 로거에 additivity="false" 태그를 추가하면 중복 출력이 방지된다.
'소프트웨어 > Spring Framework' 카테고리의 다른 글
[log4j] Conversion Pattern (0) | 2013.10.10 |
---|---|
FileSystemResource vs ClassPathResource (0) | 2013.08.07 |
@RequestMapping (0) | 2013.08.03 |
Content-Type=x-www-form-urlencoded (0) | 2013.08.01 |
spring 3.1에서 Servlet 3.0 적용 (0) | 2013.07.29 |