How can I disable logging in Tomcat 7?
- by WilliamMayor
I have a Tomcat 7 server running in a VM that has very little disk space (20G).
Over the course of a few days Tomcat will fill the space with logging info (usually about 15G before it runs out).
I've tried turning down the log level (from INFO to SEVERE) in the logging.properties file, I've also tried sending the log info to /dev/null.
It doesn't seem to work as I still get a full log directory after no time at all.
Can I put a file size limit on the log files? Is something overriding the properties I'm setting?
Where can I find this information? My Google Fu just returns information about logging from within an application using JULI.