log4j.properties
来源:互联网 发布:数据库范式 编辑:程序博客网 时间:2024/06/06 03:10
### set log levels ####log4j.rootLogger = debug , stdout , D , Elog4j.rootLogger = debug , stdout , D### output to the console ###log4j.appender.stdout = org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.Target = System.outlog4j.appender.stdout.layout = org.apache.log4j.PatternLayout#log4j.appender.stdout.layout.ConversionPattern = %d{ABSOLUTE} %5p %c{ 1 }:%L - %m%nlog4j.appender.stdout.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [%c]-[%p] %m%n### Output to the log file ###log4j.appender.D = org.apache.log4j.DailyRollingFileAppenderlog4j.appender.D.File = ${project.root}/WEB-INF/logs/log.loglog4j.appender.D.Append = truelog4j.appender.D.Threshold = DEBUG log4j.appender.D.layout = org.apache.log4j.PatternLayoutlog4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n### Save exception information to separate file ###log4j.appender.D = org.apache.log4j.DailyRollingFileAppenderlog4j.appender.D.File = ${project.root}/WEB-INF/logs/error.log log4j.appender.D.Append = truelog4j.appender.D.Threshold = ERROR log4j.appender.D.layout = org.apache.log4j.PatternLayoutlog4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n
0 0
- log4j.properties
- log4j.properties
- log4j.properties
- Log4j.properties
- log4j.properties
- Log4j.properties
- log4j.properties
- log4j.properties
- log4j.properties
- log4j.properties
- Log4j.properties
- log4j.properties
- log4j.properties
- log4j.properties
- log4j properties
- log4j.properties
- log4j properties
- log4j.properties
- WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...的解决方案
- 数字加密
- maven+springMVC+hibernate整合
- sql server简单备份
- jdbc.properties
- log4j.properties
- HibernateUtil 获取session工具类
- Hibernate单个框架配置文件
- JS判定空值null以及未定义值undefined
- get方法带有汉字传递时需要对汉字进行编码,如搜索操作
- 2015.3-4月面经
- VirtualBox中CentOS扩容至根分区
- bootstrap popover.js 弹出框组件
- java出来xml相关API的工具类