Custom Logging-profile is ignored when logging from Camel Route in EAP
Issue
-
On Fuse on EAP we have configured in JBoss logging subsystem, a logging-profile to separate the logs of a camel application deployed as war.
We noticed that whenever a Log is filled from a camel route or a bean that has been instantiated from camel context the logging profile is ignored and the information is written in the server.log instead of the logging-profile specific file. Logs that are logged from JEE artifacts e.g servlet are filled correctly in the logging-profile specific file. -
The war file has in
META-INF/MANIFEST-MF
the corresponding Logging-Profile entry.
From this solution, https://access.redhat.com/solutions/2645881 we can see that logging profiles supposed to work.
Environment
- Red Hat JBoss Fuse
- Red Hat JBoss Enterprise Application Platform (EAP)
- Apache Camel
- JBoss Logging
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.