renjth-81 commented on PR #20960:
URL: https://github.com/apache/camel/pull/20960#issuecomment-3780188733

   We are deploying Camel JBang applications to k8s with Opentelemetry and 
Loki.  If there is an error on startup, some of the camel logs are getting 
printed to System.err .  These logs are not getting exported to Loki.   
Changing log level to error in this commit will help capture these logs.
   
   I used the below integration yaml  to recreate the scenario where an 
exception is printed to System.err and the pod will restart. 
   
   `
   - route:
       id: route-94d2
       nodePrefixId: route-b8d
       from:
         id: from-968b
         uri: timer
         parameters:
           delay: "0"
           timerName: oneTimeTimer
           period: "2000"
         steps:
           - log1:
               message: ${body}
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to