You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
614 B
20 lines
614 B
log4j.rootLogger=ERROR, stdout, R
|
|
|
|
#console log
|
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
|
#xml log
|
|
#log4j.appender.stdout.layout=org.apache.log4j.xml.XMLLayout
|
|
|
|
# file log
|
|
log4j.appender.R=org.apache.log4j.RollingFileAppender
|
|
log4j.appender.R.File=d:\MyLog.log
|
|
log4j.appender.R.MaxFileSize=5000KB
|
|
log4j.appender.R.MaxBackupIndex=10
|
|
log4j.appender.R.layout=org.apache.log4j.PatternLayout
|
|
log4j.appender.R.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss} [%c]-[%t]-[%p] %m%n
|
|
|
|
|
|
log4j.logger.com.zky=DEBUG
|
|
log4j.logger.com.zky.orcl.sale=DEBUG
|