hjg
2023-11-18 bb48edb3d9faaaeab0088151c86fc24137acdb08
提交 | 用户 | 时间
58d006 1
A 2 #
3 log4j.rootLogger=INFO,appender1,annender2
4
5
6
7 #***************
8 log4j.appender.appender1=org.apache.log4j.ConsoleAppender
9 log4j.appender.appender1.ImmediateFlush=true
10 log4j.appender.appender1.layout=org.apache.log4j.PatternLayout
11
12 #**************
13
14 log4j.appender.annender2=org.apache.log4j.RollingFileAppender
15 log4j.appender.annender2.File=/log.log
16 log4j.appender.annender2.MaxFileSize=1000KB
17 log4j.appender.annender2.layout=org.apache.log4j.PatternLayout