Camel logs passwords in message body in plaintext to log file

Solution Unverified - Updated -

Issue

We see Camel writing logging content that includes passwords.
I expected passwords to be obfuscated in the log files, replaced with asterisks for example, particularly for simple patterns like password=blah (which should be replace, for example, with password=********).
I'm also looking for a mechanism to obfuscate more complex patterns like <ns:password>blah</ns:password>.

Environment

  • JBoss Fuse 6.x

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