log4Qt设置配置进行回滚显示

配置如下

#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)