2021-05-11 17:14
@JackHappiness 需要注册filter(dbPlugin.addFilter(new SQLDruidFilter());)和log4j.properties设置为log4j.rootLogger=DEBUG, stdout, file ,然后要引入https://mvnrepository.com/artifact/cn.hutool/hutool-log jar包,用最新的就可以了
2021-05-11 16:56
@chcode 解决了,需要注册filter和log4j.properties设置为log4j.rootLogger=DEBUG, stdout, file
2021-05-11 16:48
@chcode 解决了log4j.properties日志级别设置为debug(log4j.rootLogger=DEBUG, stdout, file)
2021-05-11 16:38
@chcode filter已经注册了,日志级别要修改哪一个,我项目有log4j.properties和logging.properties