mirror of
https://gitee.com/wkeyuan/DWSurvey.git
synced 2024-11-30 02:58:55 +08:00
解决启动后tomcat控制台输入大量DEBUG日志,logback
This commit is contained in:
parent
8268c16266
commit
166e54eda8
16
pom.xml
16
pom.xml
@ -197,18 +197,6 @@
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baidubce</groupId>
|
||||
<artifactId>bce-java-sdk</artifactId>
|
||||
<version>0.10.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.aliyun.oss</groupId>
|
||||
<artifactId>aliyun-sdk-oss</artifactId>
|
||||
<version>2.0.3</version>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.xhtmlrenderer/core-renderer -->
|
||||
<dependency>
|
||||
<groupId>org.xhtmlrenderer</groupId>
|
||||
@ -548,8 +536,8 @@
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>7</source>
|
||||
<target>7</target>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Output pattern : date [thread] priority category - message
|
||||
log4j.rootLogger=INFO, Console, RollingFile
|
||||
|
||||
##Appenders##
|
||||
|
||||
#Console Appender
|
||||
@ -11,15 +10,15 @@ log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p %-40.40c -%m%n
|
||||
|
||||
#RollingFile Appender(Store application message, hourly rolling, threshold is INFO)
|
||||
log4j.appender.RollingFile=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.RollingFile.File=/Users/keyuan/Documents/Work/temp/logs/diaowen.log
|
||||
log4j.appender.RollingFile.File=${catalina.base}/temp/logs/diaowen.log
|
||||
log4j.appender.RollingFile.Threshold=INFO
|
||||
log4j.appender.RollingFile.File.DatePattern=.yyyy-MM-dd-HH
|
||||
log4j.appender.RollingFile.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.RollingFile.layout.ConversionPattern=%d [%t] %-5p %-40.40c -%m%n
|
||||
|
||||
#TraceFile Appender (Store debug message, rolling with 10M, 5 files, threshold is DEBUG)
|
||||
#TraceFile Appender (Store debug message, rolling with 10M, 5 files, threshold is DEBUG)
|
||||
log4j.appender.TraceFile=org.apache.log4j.RollingFileAppender
|
||||
log4j.appender.TraceFile.File=/Users/keyuan/Documents/Work/temp/logs/diaowen_trace.log
|
||||
log4j.appender.TraceFile.File=${catalina.base}/temp/logs/diaowen_trace.log
|
||||
log4j.appender.TraceFile.Threshold=OFF
|
||||
log4j.appender.TraceFile.MaxBackupIndex=5
|
||||
log4j.appender.TraceFile.layout=org.apache.log4j.PatternLayout
|
||||
@ -32,8 +31,8 @@ log4j.logger.com=INFO,TraceFile
|
||||
|
||||
log4j.logger.org=INFO,TraceFile
|
||||
|
||||
#Forbidden struts2 ClassFinder message
|
||||
#Forbidden struts2 ClassFinder message
|
||||
log4j.logger.com.opensymphony.xwork2.util.finder.ClassFinder=OFF
|
||||
|
||||
#log4jdbc
|
||||
log4j.logger.jdbc.sqltiming=INFO
|
||||
log4j.logger.jdbc.sqltiming=INFO
|
||||
|
Loading…
Reference in New Issue
Block a user