log4Qt设置配置进行回滚显示
程序员文章站
2022-06-06 16:50:17
...
配置如下
#log4j.rootLogger=WARN,Console,File,DailyRollingFile,RollingFile
log4j.rootLogger=ERROR,DailyRollingFile,File,RollingFile
Threshold=DEBUG
ImmediateFlush=true
#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
#File
log4j.appender.File = org.apache.log4j.FileAppender
log4j.ap
上一篇: QT比较时间的操作
下一篇: 安装数据库时报错gmake[2]: *** [CMakeFiles/tdcore.dir/td/********/MessagesManager.cpp.o] Error 4 gmake[1]: **
推荐阅读