Log4j 单独日志文件的配置
log4j.properties配置如下:
### set log levels ###
log4j.rootLogger = INFO , C , D , E
### console ###
log4j.appender.C = org.apache.log4j.ConsoleAppender
log4j.appender.C.Target = System.out
log4j.appe...
原创
2018-08-23 16:54:24 ·
1186 阅读 ·
0 评论