|
|
|
|
9
|
|
9
|
|
10
|
### \u8F93\u51FADEBUG \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/log.log ###
|
10
|
### \u8F93\u51FADEBUG \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/log.log ###
|
11
|
log4j.appender.D = org.apache.log4j.DailyRollingFileAppender
|
11
|
log4j.appender.D = org.apache.log4j.DailyRollingFileAppender
|
12
|
log4j.appender.D.File = /home/tomcat/apache-tomcat-7.0.73/webapps/log.log
|
|
|
|
|
12
|
log4j.appender.D.File = /home/tomcat/apache-tomcat-7.0.73/webapps/logs/log.log
|
13
|
log4j.appender.D.Append = true
|
13
|
log4j.appender.D.Append = true
|
14
|
log4j.appender.D.Threshold = DEBUG
|
14
|
log4j.appender.D.Threshold = DEBUG
|
15
|
log4j.appender.D.layout = org.apache.log4j.PatternLayout
|
15
|
log4j.appender.D.layout = org.apache.log4j.PatternLayout
|
|
|
|
|
17
|
|
17
|
|
18
|
### \u8F93\u51FAERROR \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/error.log ###
|
18
|
### \u8F93\u51FAERROR \u7EA7\u522B\u4EE5\u4E0A\u7684\u65E5\u5FD7\u5230=E://logs/error.log ###
|
19
|
log4j.appender.E = org.apache.log4j.DailyRollingFileAppender
|
19
|
log4j.appender.E = org.apache.log4j.DailyRollingFileAppender
|
20
|
log4j.appender.E.File =/home/tomcat/apache-tomcat-7.0.73/webapps/error.log
|
|
|
|
|
20
|
log4j.appender.E.File =/home/tomcat/apache-tomcat-7.0.73/webapps/logs/error.log
|
21
|
log4j.appender.E.Append = true
|
21
|
log4j.appender.E.Append = true
|
22
|
log4j.appender.E.Threshold = ERROR
|
22
|
log4j.appender.E.Threshold = ERROR
|
23
|
log4j.appender.E.layout = org.apache.log4j.PatternLayout
|
23
|
log4j.appender.E.layout = org.apache.log4j.PatternLayout
|