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
  • 27,522
  • 44
  • 121
  • 179

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,566
  • 2
  • 35
  • 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
  • 16,339
  • 1
  • 39
  • 60