Есть ли удобный способ вести различное ведение журнала для разработчиков и продуктов в Tomcat? ⇐ JAVA
-
Anonymous
Есть ли удобный способ вести различное ведение журнала для разработчиков и продуктов в Tomcat?
I want my tomcat web app to use one logging configuration file during development, but a different logging configuration file for deployment.
Is there any way to accomplish this? If I put a logging.properties file in the root of my class loader for deployment, that seems to take priority over everything else, so I don’t see a way to add a runtime jvm flag or anything like that to override the configuration during development.
Источник: https://stackoverflow.com/questions/781 ... -in-tomcat
I want my tomcat web app to use one logging configuration file during development, but a different logging configuration file for deployment.
Is there any way to accomplish this? If I put a logging.properties file in the root of my class loader for deployment, that seems to take priority over everything else, so I don’t see a way to add a runtime jvm flag or anything like that to override the configuration during development.
Источник: https://stackoverflow.com/questions/781 ... -in-tomcat