London guy
London guy

Reputation: 28022

Supressing warnings on Apache Tomcat stdout

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

Answers (2)

Mark Thomas
Mark Thomas

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

Dirk-Willem van Gulik
Dirk-Willem van Gulik

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

Related Questions