The way to use Log4j filter

Solution Verified - Updated -

Issue

  • Log4j Filters allow Log Events to be evaluated to determine if or how they should be published. A Filter will be called on one of its filter methods and will return a Result, which is an Enum that has one of 3 values - ACCEPT, DENY or NEUTRAL. (org.apache.log4j.spi.Filter)
  • How to use the Log4j filter on Fuse environment?
  • How to configure the Log4j filter in etc/org.ops4j.pax.logging.cfg?

Environment

  • Red Hat Fuse 6.3

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