How to mask values while writing log based on regexp pattern in fabric mode ?

Solution Verified - Updated -

Issue

  • User has a class which extended the pattenlayout.
  • User using this class to mask some of the values during print. User created this project as an fragment bundle and also modified the startup.properties to load the class before the pax-logging-api-1.7.2.jar and for the log4j.appender.framework.layout property user loading his class.
  • Its not working. Need help on the same.
  • In previous project user used slf4j where there is a method patten Encoding which help to do the same.
  • How ever in fuse its not working. So user tried the above work around.

Environment

  • Red Hat JBoss Fuse
    • 6.1.0
    • 6.2.0

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.