I have configured logback.xml for my spring boot application. My spring boot version - 1.3.3.RELEASE, java version - 1.8 update 45, tomcat version - 8.
I have put logback.xml file in my local tomcats /lib folder.
Whenever I am running my tomcat without debug configuration it works fine.
But whenever I am trying run server with debug configured in catalina.bat file (with this option - set "JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket...... ) it displays java.lang.ClassCircularityError: java/util/logging/LogRecord and tomcat window closes.
Detailed error trace :
It probably doesn't help that the original poster put what appears to be a config file in the TOMCAT_HOME/lib directory.
For a single webapp, the usual place for config files is either under the webapp's /WEB-INF or /WEB-INF/classes directory. Commonly it would be /WEB-INF/classes, since that allows classloader access to the config file.
For stuff that really is made a part of Tomcat, such as Connection Pool JDBC driver jars, config files would usually be placed under TOMCAT_HOME/conf.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.