how to control the log4j output
来源:互联网 发布:国产网络神剧 编辑:程序博客网 时间:2024/05/17 02:58
输出指定包的方法直接log4j.logger.包名。你可以通过log4j.rootLogger=OFF来屏蔽其他输出。以下配置屏蔽SSH框架的日志输出:
log4j.logger.org.springframework=OFF
log4j.logger.org.apache.struts2=OFF
log4j.logger.com.opensymphony.xwork2=OFF
log4j.logger.com.ibatis=OFF
log4j.logger.org.springframework=OFF
log4j.logger.org.apache.struts2=OFF
log4j.logger.com.opensymphony.xwork2=OFF
log4j.logger.com.ibatis=OFF
log4j.logger.org.hibernate=OFF
当你不想得到某个jar包中的类日志输出,ctrl + shift + t 得到jar包中类的所在,然后
For Example: java.sql.*=OFF()...
0 0
- how to control the log4j output
- JS: How to control the IE(keyDown...)?
- 权限管理 how to control the authorization?
- How to control the jobs with shell?
- How to use the Segmented Control
- How To Change The Aging Report Output To PDF Format
- How to output the message when using the function 'printf'
- How to read the Garbage Collector output (for Sun JVM)
- How to mock the function with output parameter by cppumock?
- How to get the dmesg output in initramfs (debian)
- How to use softvol to control the master volume
- How to use softvol to control the master volume
- How To Change the Background Color of a Tab Control
- how to get the value of an control
- How to print the content of a Rich Edit Control
- In RadGrid, How to get the control inside usercontrol
- How to host WPF Control into the Windows Form Application
- How to use .NET Windows Control into the WPF Application
- Java的隐藏和覆盖的区别
- o2O电商链条赚谁的钱
- 【DFS】 HDU 3298 Contestants
- Spring是什么
- 网易邮件事务部测试实习生笔试面试
- how to control the log4j output
- 程序、进程、线程的联系与区别
- linux shell $变量
- Java for循环的执行顺序
- ERROR ITMS-9000:”invalid pre release train the train version ‘2.0’is closed for new build submission
- MAVEN Myeclipse 相关错误
- Java多线程~~~ScheduledThreadPoolExecutor 计划任务类的使用
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- 2013/9/26