log4j-创新互联

#WOLF 2013-01-16

创新互联公司主要从事成都网站设计、网站建设、网页设计、企业做网站、公司建网站等业务。立足成都服务米林,十载网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18980820575

# ALL DEBUG INFO WARN ERROR FATAL OFF

log4j.rootLogger = INFO, Console  , ErrorFile , InfoFile ,DebugFile,AllFile

log4j.appender.Console = org.apache.log4j.ConsoleAppender

log4j.appender.Console.Target = System.out

log4j.appender.Console.ImmediateFlush = true

log4j.appender.Console.Threshold = INFO 

log4j.appender.Console.layout = org.apache.log4j.PatternLayout 

log4j.appender.Console.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss SSS} - %c -%-4r [%t] %-5p %c %x - %m%n

log4j.appender.InfoFile = org.apache.log4j.DailyRollingFileAppender 

log4j.appender.InfoFile.File = /htc/htc/logs/info/infoFile.log

log4j.appender.InfoFile.Threshold = INFO

# default true is  add to File  | false is cover File

log4j.appender.InfoFile.Append = true 

log4j.appender.InfoFile.DatePattern='.'yyyy-MM-dd

log4j.appender.InfoFile.ImmediateFlush = true   

log4j.appender.InfoFile.layout = org.apache.log4j.PatternLayout 

log4j.appender.InfoFile.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss SSS} - %c -%-4r [%t] %-5p %c %x - %m%n

log4j.appender.AllFile = org.apache.log4j.DailyRollingFileAppender 

log4j.appender.AllFile.File = /htc/htc/logs/console/allFile.log

log4j.appender.AllFile.Threshold = ALL

# default true is  add to File  | false is cover File

log4j.appender.AllFile.Append = true

log4j.appender.AllFile.DatePattern='.'yyyy-MM-dd

log4j.appender.AllFile.ImmediateFlush = true   

log4j.appender.AllFile.layout = org.apache.log4j.PatternLayout 

log4j.appender.AllFile.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss SSS} - %c -%-4r [%t] %-5p %c %x - %m%n

log4j.appender.ErrorFile = org.apache.log4j.RollingFileAppender 

log4j.appender.ErrorFile.File = /htc/htc/logs/error/errorFile.log 

log4j.appender.ErrorFile.Append = true 

log4j.appender.ErrorFile.ImmediateFlush = true 

log4j.appender.ErrorFile.Threshold = ERROR 

log4j.appender.ErrorFile.DatePattern='.'yyyy-MM-dd

log4j.appender.ErrorFile.MaxFileSize = 4MB 

log4j.appender.ErrorFile.MaxBackupIndex = 3

log4j.appender.ErrorFile.layout = org.apache.log4j.PatternLayout 

log4j.appender.ErrorFile.layout.ConversionPattern = %d{yyyy-MM-dd HH\:mm\:ss SSS} - %c -%-4r [%t] %-5p %c %x - %m%n

log4j.appender.DebugFile = org.apache.log4j.RollingFileAppender

log4j.appender.DebugFile.File = /htc/htc/logs/debug/debugLog.log

log4j.appender.DebugFile.Threshold = ERROR   

log4j.appender.DebugFile.Append = true 

log4j.appender.DebugFile.DatePattern='.'yyyy-MM-dd

log4j.appender.DebugFile.ImmediateFlush = true 

log4j.appender.DebugFile.MaxFileSize =4MB 

log4j.appender.DebugFile.MaxBackupIndex = 3 

log4j.appender.DebugFile.layout = org.apache.log4j.PatternLayout 

log4j.appender.DebugFile.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss SSS} - %c -%-4r [%t] %-5p %c %x - %m%n

# springMVC interceptor logging write

log4j.logger.org.springframework.web.servlet.handler.SimpleMappingExceptionResolver=WARN

log4j.logger.net.sf.navigator=ERROR

log4j.logger.net.sf.acegisecurity=WARN

log4j.logger.net.sf.acegisecurity.intercept.event.LoggerListener=WARN

log4j.logger.org.apache.commons=ERROR

log4j.logger.org.apache.struts=WARN

log4j.logger.org.displaytag=ERROR

log4j.logger.org.springframework=WARN

log4j.logger.org.apache.velocity=WARN

# HttpClient logging configuration...

log4j.logger.org.apache.http.wire = WARN

log4j.logger.org.apache.http.headers = WARN

log4j.logger.org.apache.http = WARN

# SqlMap logging configuration...

log4j.logger.org.apache.jasper = ERROR

log4j.logger.org.apache.catalina.startup.TldConfig = ERROR

log4j.logger.org.apache.catalina.session.ManagerBase = ERROR

log4j.logger.com.fiscal = INFO

log4j.logger.com.system = INFO

log4j.logger.java.sql.Connection=ERROR

log4j.logger.java.sql.Statement=error

log4j.logger.java.sql.PreparedStatement=ERROR

log4j.logger.java.sql.ResultSet=error

创新互联www.cdcxhl.cn,专业提供香港、美国云服务器,动态BGP最优骨干路由自动选择,持续稳定高效的网络助力业务部署。公司持有工信部办法的idc、isp许可证, 机房独有T级流量清洗系统配攻击溯源,准确进行流量调度,确保服务器高可用性。佳节活动现已开启,新人活动云服务器买多久送多久。


新闻名称:log4j-创新互联
标题网址:http://ybzwz.com/article/jhcdg.html