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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content