如何在log4j中设置属性把struts2的debug信息去掉
jiyanliang
2008-06-22
每次运行,struts2都产生大量的日志信息,严重干扰。
引用 159235 [http-8080-1] DEBUG com.opensymphony.xwork2.util.InstantiatingNullHandler - Entering nullPropertyValue [target=[edu.cumt.jnotnull.action.ProductAction@1bf3519, com.opensymphony.xwork2.DefaultTextProvider@1214726], property=org]
159235 [http-8080-1] DEBUG com.opensymphony.xwork2.util.InstantiatingNullHandler - Entering nullPropertyValue [target=[edu.cumt.jnotnull.action.ProductAction@1bf3519, com.opensymphony.xwork2.DefaultTextProvider@1214726], property=org] 159235 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159235 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159235 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159235 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159235 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - Property: id 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - Class: edu.cumt.jnotnull.domain.BigClass 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - field-level type converter for property [id] = none found 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - Property: id.id 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - Class: edu.cumt.jnotnull.domain.BigClass 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - global-level type converter for property [id] = none found 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.util.XWorkConverter - falling back to default type converter [com.opensymphony.xwork2.util.XWorkBasicConverter@145d135] 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 159266 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. |
|
yuyoo4j
2008-06-22
# set java package code's logger level
log4j.logger.com.opensymphony.xwork2=ERROR |
|
lzb7213
2009-01-07
请问LZ这个问题最后怎么解决的
|
|
vinter
2009-01-15
贴出你的Log4j.properties文件来看看
|
相关讨论
相关资源推荐
- 下一代互联网浪潮袭来,北京你准备好了吗?
- 趋势信息整合(01) 谷歌google开发者 那些事儿
- 选择题1
- 最实用入门 EOS 手册,先收藏再看(附106个工具类链接)
- 三万字「2021」DeFi行业全景扫描
- 10. logback详解,Flink流处理案例及Hive和Hbase的整合
- 【南卡樱桃|读书笔记《学习高手》】
- 全自动洗衣机PLC控制与智能交互系统:基于西门子S7-1200和TP700触摸屏程序的Z03实践(使用博途v15.1及IO表),题目二全自动洗衣机PLC控制西门子S7-1200和TP700触摸屏程序Z
- 617d773df6bb6cf9ae5ac5e95da7b096.part2
- 基于S7-200 PLC与组态王技术的分拣系统:大小球颜色、大小及材质的智能识别与控制,No.883 基于S7-200 PLC和组态王大小球颜色大小材质分拣 ,核心关键词:S7-200 PLC