Is it possible to reload ${catalina.home}/conf/logging.properties at run time and avoid restarting tomcat, same as we do in JBoss. Changes in the config file gets loaded automatically.
Asked
Active
Viewed 232 times
0
-
Try http://stackoverflow.com/questions/17130820/is-it-possible-to-change-the-logging-properties-file-without-stopping-tomcat – tjg184 Mar 14 '16 at 14:42
-
Tried this before but it didn't work for me. Added the logging.properties to
but that causes all the wars to redeploy which I want to avoid. – Shayan Mar 14 '16 at 16:55 -
You can follow this answer. [Reload tomcat7 logging](http://stackoverflow.com/questions/15141249/reload-tomcat-logging-at-runtime) – coolD Mar 15 '16 at 04:11
-
Didn't work as well, when I am setting -Djava.util.logging.manager=java.util.logging.LogManager, it always throws ClassNotFoundException. I am using tomcat7 – Shayan Mar 17 '16 at 14:31