[logback-user] Logback defaulting to debug mode for some third party libraries
amits.84 at gmail.com
Sat Jul 13 06:49:51 CEST 2013
We use slf4j and logback for logging in our java ee web application.
Recently in order to move these libraries to a common location in the
glassfish app server (to glassfish\lib directory specifically) we made a
couple of configuration changes. We made changes in the web.xml file to add
JNDI entries and renamed the logback.xml to logback-<context-name>.xml as
specified in here <http://logback.qos.ch/manual/loggingSeparation.html>.
The logback-<context-name>.xml is placed in WEB-INF\classes directory.
After this change, logging for hibernate and http-client libraries is
defaulting to debug mode and hence there is lot of logging being done. The
root logger has INFO log level and there are no specific loggers defined
for hibernate & http-client libraries.
If I revert this change i.e. remove the jndi entry in web.xml and rename
the configuration file to logback.xml, only INFO logs are logged as
Any suggestions on what could be the issue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user