学习笔记|学习笔记——mybatis的sql拼接与log4j调试

【学习笔记|学习笔记——mybatis的sql拼接与log4j调试】接上篇内容:


log4j中properties配置如下
log4j.properties:
log4j.rootLogger=DEBUG,Console log4j.appender.Console=org.apache.log4j.ConsoleAppender log4j.appender.Console.layout=org.apache.log4j.PatternLayout log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%n log4j.logger.org.apache=INFO

    推荐阅读