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 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.