################################################################
## 日志配置文件                                               ##
## maxFileSize 可以设置文件的最大尺寸. 1048576 是1M的大小.    ##
## maxBackupIndex 可以设置最大备份文件个数.                   ##
################################################################
log4j.rootCategory=WARN, Win32DbgAppender, ConsoleAppender, RootFileAppender
log4j.category.msgbus=WARN, Win32DbgAppender, ConsoleAppender, MsgBusFileAppender
log4j.category.TBarBiz=WARN, Win32DbgAppender, ConsoleAppender, TBarBizFileAppender
log4j.category.TBarMsgMgr=WARN, Win32DbgAppender, ConsoleAppender, TBarMsgMgrFileAppender
log4j.category.ChatMsgMgr=INFO, Win32DbgAppender, ConsoleAppender, ChatMsgMgrFileAppender
log4j.category.Http=WARN, Win32DbgAppender, ConsoleAppender, HttpFileAppender
log4j.category.Appcentre=ERROR, Win32DbgAppender, ConsoleAppender, AppCentreFileAppender

# log4j.additivity.msgbus=FALSE
# log4j.additivity.TBarBiz=FALSE
# log4j.additivity.TBarMsgMgr=FALSE
log4j.additivity.ChatMsgMgr=FALSE
# log4j.additivity.Http=FALSE

log4j.appender.Win32DbgAppender=org.apache.log4j.Win32DebugAppender
log4j.appender.Win32DbgAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.Win32DbgAppender.layout.ConversionPattern=%d{} %p %c %m%n

log4j.appender.ConsoleAppender=org.apache.log4j.ConsoleAppender
log4j.appender.ConsoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.ConsoleAppender.layout.ConversionPattern=%d{} %p %c %m%n

log4j.appender.RootFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.RootFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.RootFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.RootFileAppender.fileName=log.log
log4j.appender.RootFileAppender.maxFileSize=10485760
log4j.appender.RootFileAppender.maxBackupIndex=1

log4j.appender.MsgBusFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.MsgBusFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.MsgBusFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.MsgBusFileAppender.fileName=MsgBus.log
log4j.appender.MsgBusFileAppender.maxFileSize=2097152
log4j.appender.MsgBusFileAppender.maxBackupIndex=5

log4j.appender.TBarBizFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.TBarBizFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.TBarBizFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.TBarBizFileAppender.fileName=TBarBiz.log
log4j.appender.TBarBizFileAppender.maxFileSize=2097152
log4j.appender.TBarBizFileAppender.maxBackupIndex=5

log4j.appender.TBarMsgMgrFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.TBarMsgMgrFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.TBarMsgMgrFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.TBarMsgMgrFileAppender.fileName=TBarMsgMgr.log
log4j.appender.TBarMsgMgrFileAppender.maxFileSize=2097152
log4j.appender.TBarMsgMgrFileAppender.maxBackupIndex=5

log4j.appender.ChatMsgMgrFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.ChatMsgMgrFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.ChatMsgMgrFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.ChatMsgMgrFileAppender.fileName=ChatMsgMgr.log
log4j.appender.ChatMsgMgrFileAppender.maxFileSize=2097152
log4j.appender.ChatMsgMgrFileAppender.maxBackupIndex=5

log4j.appender.HttpFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.HttpFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.HttpFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.HttpFileAppender.fileName=http.log
log4j.appender.HttpFileAppender.maxFileSize=2097152
log4j.appender.HttpFileAppender.maxBackupIndex=5

log4j.appender.AppCentreFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.AppCentreFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.AppCentreFileAppender.layout.ConversionPattern=%d{} %t %p %c %m%n
log4j.appender.AppCentreFileAppender.fileName=appcentre.log
log4j.appender.AppCentreFileAppender.maxFileSize=2097152
log4j.appender.AppCentreFileAppender.maxBackupIndex=5
