hjg
2023-11-18 bb48edb3d9faaaeab0088151c86fc24137acdb08
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