haifzhan opened a new issue #2762:
URL: https://github.com/apache/camel-k/issues/2762


   I have asked a question on StackOverflow about camel k logging and paste it 
here for getting help:
   
   
   I have an integration pod running with kamel:
   
       kamel run MyRoute.java
   
   I have log in the route
   
       from("...")
       .log("my log message")
   I am able to check the log lines with command:
   
       kubectl logs my-route-85d7f65c96-rmb4z --tail=10
   
   Then I am able to access to the pod using:
   
       kubectl exec -it -c integration my-route-85d7f65c96-rmb4z /bin/sh
   
   I tried to check folder `/var/log`, unfortunately there's no related log 
files.
   
   I have 2 questions on this:
   - Where is the log file location in the integration pod?
   - How can I specify log file location If I want to log certain lines into a 
separated log file?
   
   Thanks
   
   
   


-- 
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