log4cxx.properties
#lib为appenderName1
创新互联坚信:善待客户,将会成为终身客户。我们能坚持多年,是因为我们一直可值得信赖。我们从不忽悠初访客户,我们用心做好本职工作,不忘初心,方得始终。十多年网站建设经验创新互联是成都老牌网站营销服务商,为您提供成都网站制作、成都网站建设、网站设计、H5响应式网站、网站制作、成都品牌网站建设、小程序开发服务,给众多知名企业提供过好品质的建站服务。
log4j.logger.adserver=debug, lib
log4j.appender.lib=org.apache.log4j.DailyRollingFileAppender
log4j.appender.lib.File=./log/adserver.log
log4j.appender.lib.layout=org.apache.log4j.PatternLayout
log4j.appender.lib.layout.ConversionPattern=%d %-5p %F:%L %m%n
log4j.appender.lib.DatePattern='.'yyyy-MM-dd-HH
log4j.logger.spero_func = DEBUG, func
log4j.appender.func=org.apache.log4j.DailyRollingFileAppender
log4j.appender.func.File=./spero_func.log
log4j.appender.func.layout=org.apache.log4j.PatternLayout
log4j.appender.func.layout.ConversionPattern=%m
log4j.appender.func.DatePattern='.'yyyy-MM-dd
log4j.logger.spero_perf = DEBUG, perf
log4j.appender.perf=org.apache.log4j.DailyRollingFileAppender
log4j.appender.perf.File=./spero_perf.log
log4j.appender.perf.layout=org.apache.log4j.PatternLayout
log4j.appender.perf.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.S} %-3r %m
log4j.appender.perf.DatePattern='.'yyyy-MM-dd
log4j.logger.spero_stats = DEBUG, stats
log4j.appender.stats=org.apache.log4j.DailyRollingFileAppender
log4j.appender.stats.File=./spero_stats.log
log4j.appender.stats.layout=org.apache.log4j.PatternLayout
log4j.appender.stats.layout.ConversionPattern=%m
log4j.appender.stats.DatePattern='.'yyyy-MM-dd
log4j.logger.spero_self = DEBUG, self
log4j.appender.self=org.apache.log4j.DailyRollingFileAppender
log4j.appender.self.File=./spero_self.log
log4j.appender.self.layout=org.apache.log4j.PatternLayout
log4j.appender.self.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.S} %-3r %m%n
log4j.appender.self.DatePattern='.'yyyy-MM-dd
名称栏目:log4cxx.properties
URL分享:http://azwzsj.com/article/gigdpj.html