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。。。
在eclipse中运行代码后总是会出现很多的的DEBUG [main请问如何解决,看着很不舒服
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答
- Laherz 2017-09-15 01:50关注
将log4j文件调级别:优先级从高到低分别是 ERROR、WARN、INFO、DEBUG,现在是DEBUG 调至INFO 只显示INFO以上的。
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报