How Do I Add a Custom Log4J Appender to Fuse Karaf or Fabric?

Solution Verified - Updated -

Issue

I need a custom appender for fuse logging (for example, a syslog appender that does not split log entries on a 1024 byte interval). How can I add a custom appender to Fuse and ensure that it is used to log Karaf and Fabric events?

Environment

  • Fuse 6.2
  • Fuse 6.2.1

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