Posted By:
da_shan
Posted On:
Monday, October 18, 2004 11:02 AM
For example, there is an example property file displayed as the following: log4j.rootCategory=INFO, test log4j.appender.test=org.apache.log4j.RollingFileAppender log4j.appender.test.MaxFileSize=10MB log4j.appender.test.MaxBackupIndex=1 log4j.appender.test.File=/local/pkg/logs/test.log log4j.appender.test.Append=true log4j.appender.test.layout=org.apache.log4j.PatternLayout log4j.appender.test.layout.ConversionPattern=%d{yyyy.MM.dd, HH:mm:ss} - %m%n At the first line, after "INFO", a string "test", could someone tell what this String "test" mean please? It seems to me that we could name whatever String we want h
More>>
For example, there is an example property file displayed as the following:
log4j.rootCategory=INFO, test
log4j.appender.test=org.apache.log4j.RollingFileAppender
log4j.appender.test.MaxFileSize=10MB
log4j.appender.test.MaxBackupIndex=1
log4j.appender.test.File=/local/pkg/logs/test.log
log4j.appender.test.Append=true
log4j.appender.test.layout=org.apache.log4j.PatternLayout
log4j.appender.test.layout.ConversionPattern=%d{yyyy.MM.dd, HH:mm:ss} - %m%n
At the first line, after "INFO", a string "test", could someone tell what this String "test" mean please? It seems to me that we could name whatever String we want here, is it true?
Thanks a lot!
<<Less