You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/01/21 09:20:12 UTC

[GitHub] rhuss opened a new issue #347: Use container name for "kamel log", too

rhuss opened a new issue #347: Use container name for "kamel log", too
URL: https://github.com/apache/camel-k/issues/347
 
 
   When running "kamel log" on an istio enabled cluster the following output is generated:
   
   ```
   ./kamel log sample
   WARN[0000] error caught during log scraping for pod sample-c5f9598b5-7fh6m: a container name must be specified for pod sample-c5f9598b5-7fh6m, choose one of: [sample istio-proxy] or one of the init containers: [istio-init]
   WARN[0005] error caught during log scraping for pod sample-c5f9598b5-7fh6m: a container name must be specified for pod sample-c5f9598b5-7fh6m, choose one of: [sample istio-proxy] or one of the init containers: [istio-init]
   ```
   
   As `kamel log` also knows the name of the container (i.e. its the same as the integration), it could specify that implicitly when calling out to the logging API.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services