I am using Tomcat 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?
I am using Tomcat version 5.5.x. My WAR sets its own logging properties successfully
Share
Change your application’s logging configuration so it doesn’t log anything to the console/standard out. Tomcat redirects standard out to the
catalina.outfile, so if you see output incatalina.outit implies your application is writing to the console.