0

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?

London guy
  • 26,580
  • 42
  • 114
  • 173

2 Answers2

1

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

Community
  • 1
  • 1
Dirk-Willem van Gulik
  • 7,275
  • 2
  • 33
  • 40
1

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.

Mark Thomas
  • 15,938
  • 1
  • 38
  • 60