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