梦幻之旅

DEBUG - 天道酬勤

   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  671 随笔 :: 6 文章 :: 256 评论 :: 0 Trackbacks

#Created by Huy Vanpull - http://www.drivemail.com.cn
#Thu Oct 06 16:50:35 CST 2008
#其它的logger都要继承rootLogger
log4j.rootLogger=debug

log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
log4j.appender.file.Threshold=info 
log4j.appender.file.File=${catalina.home}/logs/edm-sender2-log
log4j.appender.file.DatePattern='.'yyyy-MM-dd'.txt'
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.Threshold=info
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n

log4j.logger.commonLogger=debug,commonLoggerOut
log4j.appender.commonLoggerOut=org.apache.log4j.RollingFileAppender
log4j.appender.commonLoggerOut.Threshold=debug 
log4j.appender.commonLoggerOut.File=${catalina.home}/logs/edm_common.log
log4j.appender.commonLoggerOut.MaxFileSize=50MB
log4j.appender.commonLoggerOut.maxBackupIndex=6
log4j.appender.commonLoggerOut.layout=org.apache.log4j.PatternLayout
log4j.appender.commonLoggerOut.layout.ConversionPattern=[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n

log4j.logger.errorLogger=debug,errorLoggerOut
log4j.appender.errorLoggerOut=org.apache.log4j.RollingFileAppender
log4j.appender.errorLoggerOut.Threshold=debug 
log4j.appender.errorLoggerOut.File=${catalina.home}/logs/edm_error.log
log4j.appender.errorLoggerOut.MaxFileSize=50MB
log4j.appender.errorLoggerOut.maxBackupIndex=6
log4j.appender.errorLoggerOut.layout=org.apache.log4j.PatternLayout
log4j.appender.errorLoggerOut.layout.ConversionPattern=[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n

log4j.logger.backupLogger=debug,backupLoggerOut
log4j.appender.backupLoggerOut=org.apache.log4j.RollingFileAppender
log4j.appender.backupLoggerOut.Threshold=debug 
log4j.appender.backupLoggerOut.File=${catalina.home}/logs/edm_backup.log
log4j.appender.backupLoggerOut.MaxFileSize=50MB
log4j.appender.backupLoggerOut.maxBackupIndex=6
log4j.appender.backupLoggerOut.layout=org.apache.log4j.PatternLayout
log4j.appender.backupLoggerOut.layout.ConversionPattern=%m%n

posted on 2010-01-05 10:14 HUIKK 阅读(528) 评论(0)  编辑  收藏 所属分类: Java

只有注册用户登录后才能发表评论。


网站导航: