How to override logging configuration in fabric child container ?
Issue
-
We have changed the
fabric/import/fabric/profiles/karaf.profile/org.ops4j.logging.properties
file to customize the logging parameters, however, when we usecontainer-create-child
with thedefault.profile
or thekaraf
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.