tgyman 2016-07-26 06:10 采纳率: 0%
浏览 7436

elipse如何阻止控制台不停的打印各类日志信息

项目是Java web的电商项目,部署在tomcat后,eclipse不停的打印一些日志信息,我将log4j.properties文件中的所有配置都注释掉了,后台,依旧是不断的打印信息.由于不停的打印信息,

以至于比如null pointer exception等错误都无法在控制台显示出来了,所以我想屏蔽这些没用的日志消息,应该从哪些文件入手呢?

eclipse控制台日志信息部分粘贴:
13:57:02.038 [DubboServerHandler-10.144.36.29:55208-thread-92] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'com.founder.bbc.webInterface.webservice.interfaced.atg.ATGtoBBCServicePublish'
13:57:02.038 [DubboServerHandler-10.144.36.29:55208-thread-92] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'com.founder.bbc.webInterface.mqservice.handler.DRGReceiveHandler'
13:57:02.038 [DubboServerHandler-10.144.36.29:55208-thread-92] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean

13:57:07.479 [pool-4-thread-1] DEBUG httpclient.wire.header - >> "POST /diamond-server/config.co HTTP/1.1[\r][\n]"
13:57:07.479 [pool-4-thread-1] DEBUG o.a.c.httpclient.HttpMethodBase - Adding Host request header
13:57:07.479 [pool-4-thread-1] DEBUG o.a.c.httpclient.HttpMethodBase - Default charset used: ISO-8859-1
13:57:07.480 [pool-4-thread-1] DEBUG o.a.c.httpclient.HttpMethodBase - Default charset used: ISO-8859-1
13:57:07.480 [pool-4-thread-1] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
13:57:07.480 [pool-4-thread-1] DEBUG httpclient.wire.header - >> "Host: 10.58.50.205[\r][\n]"

13:57:56.022 [localhost-startStop-1-SendThread(10.58.22.219:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x2526c8b3af3f667 after 1ms
13:57:56.365 [localhost-startStop-1-SendThread(10.58.50.204:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x156202a37f90832 after 741ms
13:57:57.292 [localhost-startStop-1-SendThread(10.58.50.204:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for session

  • 写回答

3条回答

  • 东风玖哥 2016-07-26 11:23
    关注

    你可以选择只看“Show only ……”

    评论

报告相同问题?

悬赏问题

  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?