Despite my setting up my own logging.properties, everything still also logs to catalina.out. How to stop?
I am using Tomc开发者_如何转开发at version 5.5.x. My WAR sets its own logging properties successfully and logs to $TOMCAT_HOME/logs/.YYYY-MM-DD.log. Everything that is written to my log is also written to catalina.out. Is there a way to stop the redundant logging to catalina.out stop?
Change your application's logging configuration so it doesn't log anything to the console/standard out. Tomcat redirects standard out to the catalina.out
file, so if you see output in catalina.out
it implies your application is writing to the console.
精彩评论