문서의 이전 판입니다!
java.util.Logging
, Commons logging
등과 쉽게 연동.dependencies { compile('com.example:example-project:1.0') { exclude group: 'log4j', module: 'log4j' exclude group: 'org.slf4j', module: 'slf4j-log4j12' } compile('org.apache.logging.log4j:log4j-core:2.11.2') compile('org.apache.logging.log4j:log4j-slf4j-impl:2.11.2') compile('org.apache.logging.log4j:log4j-1.2-api:2.11.2') }
Log4j2
의 File Appender
+ asynchronous logger
조합이 성능이 제일 좋다.reactor logback
으로 비슷한 성능을 보여준다.