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

在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 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类