How can I configure my applications in ServiceMix to write to individual log files?

Solution Unverified - Updated -

Issue

  • How can I configure my applications in ServiceMix to write to individual log files?
  • How to log the application log into a user defined log file instead of karaf.log when using Fabric?
  • The application is not directed to the user defined log file. All the application related log is appearing in "<JbossHome>/instances/FuseA/data/log/karaf.log" file.
  • How to enable the application log to appear in the user defined log file.
  • The same content is placed in both "<JbossHome>/instances/FuseA/etc/org.ops4j.pax.logging.cfg" and "<JbossHome>/FuseB/etc/org.ops4j.pax.logging.cfg" files.

Environment

  • Red Hat JBoss Fuse
    • 6.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.