Disabling logging of command line arguments in Tomcat start up

Solution Verified - Updated -

Issue

  • Tomcat's VersionLoggerListener is logging all command line arguments at start up:
INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djavax.net.ssl.trustStorePassword=deleted
  • But we have some sensitive values here we do not want written to the log. How can this be avoided?

Environment

  • JBoss Web Server (JWS) 3.x
  • Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.