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 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办