「spring」 log4jの設定サンプルコード

サンプルコード

log4j.rootLogger = debug, stdout
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern = %d %5p [%c] – %m%n

log4j.logger.org.apache.ibatis = DEBUG
log4j.logger.org.mybatis.spring = DEBUG
log4j.logger.org.mybatis.spring.SqlSessionUtils = WARN

Java

Posted by arkgame