Administrator
2023-04-17 63fbfddabe08e353ad75e495c2ac8dc5203da88c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
#
log4j.rootLogger=INFO,appender1,annender2
 
 
 
#***************
log4j.appender.appender1=org.apache.log4j.ConsoleAppender
log4j.appender.appender1.ImmediateFlush=true
log4j.appender.appender1.layout=org.apache.log4j.PatternLayout
 
#**************
 
log4j.appender.annender2=org.apache.log4j.RollingFileAppender
log4j.appender.annender2.File=/log.log
log4j.appender.annender2.MaxFileSize=1000KB
log4j.appender.annender2.layout=org.apache.log4j.PatternLayout