How to override logging configuration in fabric child container ?
Issue
-
We have changed the
fabric/import/fabric/profiles/karaf.profile/org.ops4j.logging.propertiesfile to customize the logging parameters, however, when we usecontainer-create-childwith thedefault.profileor thekarafprofile, it is not using our customized logging properties. -
We see that the child instance file,
/etc/org.ops4j.pax.logging.cfgfile 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.loggingshows 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
