How to override logging configuration in fabric child container ?

Solution Unverified - Updated -

Issue

  • We have changed the fabric/import/fabric/profiles/karaf.profile/org.ops4j.logging.properties file to customize the logging parameters, however, when we use container-create-child with the default.profile or the karaf profile, it is not using our customized logging properties.

  • We see that the child instance file, /etc/org.ops4j.pax.logging.cfg file does not have our customized content and the data/log files are written using the properties from the logging.cfg file. How can we customize the child container logging properties? Looking at the child container's logging configuration in the FMC OSGi/Configuration tab for Logging /org.ops4j.pax.logging shows the same as the file contents - it does not reflect the customizations

  • How to change the logging format of all the containers in Fuse fabric.

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Fabric

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