在springboot日志打印的过程中,大量打印JndiPropertySource信息
2017-09-28 00:00
525 查看
摘要: 在springboot日志打印的过程中,大量打印JndiPropertySource信息
解决方法 请参考 https://stackoverflow.com/questions/42446013/spring-jndi-logging-before-logback-is-initialized
在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
相关文章推荐
- SpringBoot使用logback输出日志并打印sql信息
- 【SSH三大框架】Struts2基础第七篇:log4j打印出日志信息
- rest-assured 将log()中的信息打印到log日志中去的方法
- 给程序加入能打印文件名、行号、日期的日志信息,并设置debug开关
- 使用log4j2打印Log,log4j不能打印日志信息,log4j2不能打印日志信息,log4j和logj2,idea控制台信息乱码(文末)
- 如何查找和查看自定义coprocessor中打印的日志信息
- log4j日志信息的打印(含文件)
- openwrt/LEDE打印信息: br-lan: received packet on eth0 with own address as source address
- java日志系统简介: 从tomcat大量打印debug日志说起
- 黑马程序员-读取键盘_转换流_异常日志信息_打印java虚拟机信息
- LR做接口压力测试时,后台打印日志的异常信息
- 2.9 log4j 在测试过程中打印执行日志
- Android心得2.5--对应用进行单元测试、打印错误信息和日志输出
- android 开发输出日志打印信息
- Logback (4) | 无法打印出自定义的日志信息
- 打印日志信息到文件
- 如何通过配置log4j.xml来打印指定类或指定级别的日志信息
- springboot中logback打印日志(转)
- Android中日志信息的打印方式
- 在Android应用中使用Log打印日志信息