Generally we use logback framework most of the java based application and this file commonly resides inside class path. Is there any way to externalize this?. Yes this can be done using following approach. We need to pass additional JVM arguments while starting the tomcat/java process.


-Dlogback.configurationFile=/opt/configuration/logback.xml

This way Logback configuration via jvm argument is possible.