You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Salomon Mateo <sm...@hcc.edu> on 2021/10/19 16:54:53 UTC

How do I disable JNDI logging

Hello,

I hope that someone here can shine some light. Recently upgraded to tomcat
8.5.72, and now in catalina.out I see a whole bunch of these. My apps don't
seem to be affected, but would like to address/fix this. Thank you! Sal


11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.exception-conversion-word]
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.exception-conversion-word] not found - trying
original name [LOGGING.exception-conversion-word].
javax.naming.NameNotFoundException: Name
[LOGGING.exception-conversion-word] is not bound in this Context. Unable to
find [LOGGING.exception-conversion-word].
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.exception-conversion-word]
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiPropertySource - JNDI lookup for name
[LOGGING.exception-conversion-word] threw NamingException with message:
Name [LOGGING.exception-conversion-word] is not bound in this Context.
Unable to find [LOGGING.exception-conversion-word].. Returning null.
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.exception_conversion_word]
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.exception_conversion_word] not found - trying
original name [LOGGING.exception_conversion_word].
javax.naming.NameNotFoundException: Name
[LOGGING.exception_conversion_word] is not bound in this Context. Unable to
find [LOGGING.exception_conversion_word].
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.exception_conversion_word]
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiPropertySource - JNDI lookup for name
[LOGGING.exception_conversion_word] threw NamingException with message:
Name [LOGGING.exception_conversion_word] is not bound in this Context.
Unable to find [LOGGING.exception_conversion_word].. Returning null.
11:48:55.621 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.exceptionConversionWord]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.exceptionConversionWord] not found - trying original
name [LOGGING.exceptionConversionWord]. javax.naming.NameNotFoundException:
Name [LOGGING.exceptionConversionWord] is not bound in this Context. Unable
to find [LOGGING.exceptionConversionWord].
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.exceptionConversionWord]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiPropertySource - JNDI lookup for name
[LOGGING.exceptionConversionWord] threw NamingException with message: Name
[LOGGING.exceptionConversionWord] is not bound in this Context. Unable to
find [LOGGING.exceptionConversionWord].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.exceptionconversionword]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.exceptionconversionword] not found - trying original
name [LOGGING.exceptionconversionword]. javax.naming.NameNotFoundException:
Name [LOGGING.exceptionconversionword] is not bound in this Context. Unable
to find [LOGGING.exceptionconversionword].
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.exceptionconversionword]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiPropertySource - JNDI lookup for name
[LOGGING.exceptionconversionword] threw NamingException with message: Name
[LOGGING.exceptionconversionword] is not bound in this Context. Unable to
find [LOGGING.exceptionconversionword].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.EXCEPTION-CONVERSION-WORD]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.EXCEPTION-CONVERSION-WORD] not found - trying
original name [LOGGING.EXCEPTION-CONVERSION-WORD].
javax.naming.NameNotFoundException: Name
[LOGGING.EXCEPTION-CONVERSION-WORD] is not bound in this Context. Unable to
find [LOGGING.EXCEPTION-CONVERSION-WORD].
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.EXCEPTION-CONVERSION-WORD]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiPropertySource - JNDI lookup for name
[LOGGING.EXCEPTION-CONVERSION-WORD] threw NamingException with message:
Name [LOGGING.EXCEPTION-CONVERSION-WORD] is not bound in this Context.
Unable to find [LOGGING.EXCEPTION-CONVERSION-WORD].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.EXCEPTION_CONVERSION_WORD]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.EXCEPTION_CONVERSION_WORD] not found - trying
original name [LOGGING.EXCEPTION_CONVERSION_WORD].
javax.naming.NameNotFoundException: Name
[LOGGING.EXCEPTION_CONVERSION_WORD] is not bound in this Context. Unable to
find [LOGGING.EXCEPTION_CONVERSION_WORD].
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.EXCEPTION_CONVERSION_WORD]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiPropertySource - JNDI lookup for name
[LOGGING.EXCEPTION_CONVERSION_WORD] threw NamingException with message:
Name [LOGGING.EXCEPTION_CONVERSION_WORD] is not bound in this Context.
Unable to find [LOGGING.EXCEPTION_CONVERSION_WORD].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[java:comp/env/LOGGING.EXCEPTIONCONVERSIONWORD]
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name
[java:comp/env/LOGGING.EXCEPTIONCONVERSIONWORD] not found - trying original
name [LOGGING.EXCEPTIONCONVERSIONWORD]. javax.naming.NameNotFoundException:
Name [LOGGING.EXCEPTIONCONVERSIONWORD] is not bound in this Context. Unable
to find [LOGGING.EXCEPTIONCONVERSIONWORD].
11:48:55.622 [localhost-startStop-1] DEBUG
org.springframework.jndi.JndiTemplate - Looking up JNDI object with name
[LOGGING.EXCEPTIONCONVERSIONWORD]
*----------------------------------------*

*Salomon Mateo*Systems Administrator
Information Technology
Holyoke Community College
(413) 552-2216
smateo@hcc.edu
TeamViewer QuickSupport <https://get.teamviewer.com/5rgspsm>
*----------------------------------------*

AW: How do I disable JNDI logging

Posted by "Thomas Hoffmann (Speed4Trade GmbH)" <Th...@speed4trade.com.INVALID>.
Hello,

it looks more related to spring framework and loglevel.
All logs are produced by spring classes.

The loglevel is set to DEBUG. The loglevel is set by a configuration file (e.g. log4j.xml, logging.properties or something else).
Maybe you can check which logging framework you are using and check the logging configuration.

Greetings,
Thomas

-----Ursprüngliche Nachricht-----
Von: Salomon Mateo <sm...@hcc.edu> 
Gesendet: Dienstag, 19. Oktober 2021 18:55
An: users@tomcat.apache.org
Betreff: How do I disable JNDI logging

Hello,

I hope that someone here can shine some light. Recently upgraded to tomcat 8.5.72, and now in catalina.out I see a whole bunch of these. My apps don't seem to be affected, but would like to address/fix this. Thank you! Sal


11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.exception-conversion-word]
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.exception-conversion-word] not found - trying original name [LOGGING.exception-conversion-word].
javax.naming.NameNotFoundException: Name [LOGGING.exception-conversion-word] is not bound in this Context. Unable to find [LOGGING.exception-conversion-word].
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.exception-conversion-word]
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [LOGGING.exception-conversion-word] threw NamingException with message:
Name [LOGGING.exception-conversion-word] is not bound in this Context.
Unable to find [LOGGING.exception-conversion-word].. Returning null.
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.exception_conversion_word]
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.exception_conversion_word] not found - trying original name [LOGGING.exception_conversion_word].
javax.naming.NameNotFoundException: Name [LOGGING.exception_conversion_word] is not bound in this Context. Unable to find [LOGGING.exception_conversion_word].
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.exception_conversion_word]
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [LOGGING.exception_conversion_word] threw NamingException with message:
Name [LOGGING.exception_conversion_word] is not bound in this Context.
Unable to find [LOGGING.exception_conversion_word].. Returning null.
11:48:55.621 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.exceptionConversionWord]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.exceptionConversionWord] not found - trying original name [LOGGING.exceptionConversionWord]. javax.naming.NameNotFoundException:
Name [LOGGING.exceptionConversionWord] is not bound in this Context. Unable to find [LOGGING.exceptionConversionWord].
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.exceptionConversionWord]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [LOGGING.exceptionConversionWord] threw NamingException with message: Name [LOGGING.exceptionConversionWord] is not bound in this Context. Unable to find [LOGGING.exceptionConversionWord].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.exceptionconversionword]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.exceptionconversionword] not found - trying original name [LOGGING.exceptionconversionword]. javax.naming.NameNotFoundException:
Name [LOGGING.exceptionconversionword] is not bound in this Context. Unable to find [LOGGING.exceptionconversionword].
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.exceptionconversionword]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [LOGGING.exceptionconversionword] threw NamingException with message: Name [LOGGING.exceptionconversionword] is not bound in this Context. Unable to find [LOGGING.exceptionconversionword].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.EXCEPTION-CONVERSION-WORD]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.EXCEPTION-CONVERSION-WORD] not found - trying original name [LOGGING.EXCEPTION-CONVERSION-WORD].
javax.naming.NameNotFoundException: Name [LOGGING.EXCEPTION-CONVERSION-WORD] is not bound in this Context. Unable to find [LOGGING.EXCEPTION-CONVERSION-WORD].
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.EXCEPTION-CONVERSION-WORD]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [LOGGING.EXCEPTION-CONVERSION-WORD] threw NamingException with message:
Name [LOGGING.EXCEPTION-CONVERSION-WORD] is not bound in this Context.
Unable to find [LOGGING.EXCEPTION-CONVERSION-WORD].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.EXCEPTION_CONVERSION_WORD]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.EXCEPTION_CONVERSION_WORD] not found - trying original name [LOGGING.EXCEPTION_CONVERSION_WORD].
javax.naming.NameNotFoundException: Name [LOGGING.EXCEPTION_CONVERSION_WORD] is not bound in this Context. Unable to find [LOGGING.EXCEPTION_CONVERSION_WORD].
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.EXCEPTION_CONVERSION_WORD]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [LOGGING.EXCEPTION_CONVERSION_WORD] threw NamingException with message:
Name [LOGGING.EXCEPTION_CONVERSION_WORD] is not bound in this Context.
Unable to find [LOGGING.EXCEPTION_CONVERSION_WORD].. Returning null.
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/LOGGING.EXCEPTIONCONVERSIONWORD]
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/LOGGING.EXCEPTIONCONVERSIONWORD] not found - trying original name [LOGGING.EXCEPTIONCONVERSIONWORD]. javax.naming.NameNotFoundException:
Name [LOGGING.EXCEPTIONCONVERSIONWORD] is not bound in this Context. Unable to find [LOGGING.EXCEPTIONCONVERSIONWORD].
11:48:55.622 [localhost-startStop-1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [LOGGING.EXCEPTIONCONVERSIONWORD]
*----------------------------------------*

*Salomon Mateo*Systems Administrator
Information Technology
Holyoke Community College
(413) 552-2216
smateo@hcc.edu
TeamViewer QuickSupport <https://get.teamviewer.com/5rgspsm>
*----------------------------------------*