Reputation: 28022
I am running a web-app on apache tomcat that grabs data from the web and then writes into an excel sheet. I am getting several warnings on the tomcat stdout that is making the whole look of the workflow ugly.
How can I suppress the warnings of the apache tomcat stdout?
Upvotes: 0
Views: 1430
Reputation: 16635
Given that Tomcat doesn't write directly to STDOUT, I assume that some library you are using does. You can re-direct this output using the swallowOutput attribute of the Context.
Upvotes: 1
Reputation: 7706
Have a look at How to set level logging to DEBUG in Tomcat? or the tomcat documentation on Logging: http://tomcat.apache.org/tomcat-6.0-doc/logging.html
You essentially want to scale the logging down to just (critical) errors.
Dw
Upvotes: 1