WorldCats 2017-09-15 01:39 采纳率: 0%
浏览 3416
已采纳

在eclipse中运行代码后总是会出现很多的的DEBUG [main请问如何解决,看着很不舒服

DEBUG [main] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [main] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [main] - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
INFO [main] - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@9e725a: startup date [Fri Sep 15 09:36:36 CST 2017]; root of context hierarchy
DEBUG [main] - Adding [systemProperties] PropertySource with lowest search precedence
DEBUG [main] - Adding [systemEnvironment] PropertySource with lowest search precedence
DEBUG [main] - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
INFO [main] - Loading XML bean definitions from class path resource [applicationContext.xml]
tMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@6a205]
DEBUG [main] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e136d3: defining beans [d,d1,d2]; root of factory hierarchy
DEBUG [main] - Creating shared instance of singleton bean 'd'
DEBUG [main] - Creating instance of bean 'd'
DEBUG [main] - Eagerly caching bean 'd' to allow for resolving potential circular references
DEBUG [main] - Invoking init method 'init' on bean with name 'd'
ce of singleton bean 'd2'
DEBeansView.mbeanDomain' in [syst。。。

  • 写回答

3条回答

  • Laherz 2017-09-15 01:50
    关注

    将log4j文件调级别:优先级从高到低分别是 ERROR、WARN、INFO、DEBUG,现在是DEBUG 调至INFO 只显示INFO以上的。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示