您的位置:首页 > 编程语言 > Java开发

在springboot日志打印的过程中,大量打印JndiPropertySource信息

2017-09-28 00:00 525 查看
摘要: 在springboot日志打印的过程中,大量打印JndiPropertySource信息

在springboot日志打印的过程中,大量打印JndiPropertySource信息

2017-07-01 15:20:55.725 DEBUG 46784 --- [on(3)-127.0.0.1] o.s.jndi.JndiPropertySource              : JNDI lookup for name [mybatis.config] threw NamingException with message: Name [mybatis.config] is not bound in this Context. Unable to find [mybatis.config].. Returning null.
2017-07-01 15:20:55.725 DEBUG 46784 --- [on(3)-127.0.0.1] org.springframework.jndi.JndiTemplate    : Looking up JNDI object with name [java:comp/env/mybatis_config]
2017-07-01 15:20:55.726 DEBUG 46784 --- [on(3)-127.0.0.1] o.s.jndi.JndiLocatorDelegate             : Converted JNDI name [java:comp/env/mybatis_config] not found - trying original name [mybatis_config]. javax.naming.NameNotFoundException: Name [mybatis_config] is not bound in this Context. Unable to find [mybatis_config].
2017-07-01 15:20:55.726 DEBUG 46784 --- [on(3)-127.0.0.1] org.springframework.jndi.JndiTemplate    : Looking up JNDI object with name [mybatis_config]

解决方法 请参考 https://stackoverflow.com/questions/42446013/spring-jndi-logging-before-logback-is-initialized
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Spring Boot logback jndi