Reputation:
I want to turn off tomcat's logs jvm.stderr and jvm.stdout which have been set in the wrapper.properties, I've commented these lines out but that just redirects the logs to be written to the root tomcat folder.
The reason for turning them off is that these logs do not seem to have any sort of size control so I have a situation where they are getting too big and causing problems.
Is it possible to totally disable them or at least put in place some sort of management to stop the files getting too big.
Thanks
Upvotes: 3
Views: 6038
Reputation: 9814
Have you tried setting the logs locations to /dev/null in the wrapper.properties? Alternatively, on if you're on Windows try the /dev/null equivalent.
Upvotes: 1