标签:
log4j.properties
log4j.rootLogger=info, stdout, R log4j.logger.SCNAS=info, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=/var/log/scnas.log log4j.appender.R.MaxFileSize=1000KB log4j.appender.R.MaxBackupIndex=20 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern= %d{yyyy-MM-dd_HH:mm:ss} %p [%t] (%c:%L) - %m%n
标签:
原文地址:http://my.oschina.net/u/2260184/blog/496629