You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "squakez (via GitHub)" <gi...@apache.org> on 2023/05/23 07:49:26 UTC

[GitHub] [camel-k] squakez opened a new issue, #4406: Disclose CLI stderr usage

squakez opened a new issue, #4406:
URL: https://github.com/apache/camel-k/issues/4406

   We have not documented this anywhere, so, probably it makes sense to include in the official doc. As we make use of `stderr` for many CLI warning, this is automatically redirected to `stdout` to show immediately the result of any error to the user. However, it may be a problem when running dry run operations (ie, `-o yaml`). We need to show final user how to prevent the error from being logged:
   
   ```
    ./kamel run /tmp/Test.java -o yaml -d camel:test
   Warning: dependency camel:test not found in Camel catalog
   apiVersion: camel.apache.org/v1
   kind: Integration
   ```
   vs
   ```
   $ ./kamel run /tmp/Test.java -o yaml -d camel:test 2>/dev/null
   apiVersion: camel.apache.org/v1
   kind: Integration
   ```


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] github-actions[bot] commented on issue #4406: Disclose CLI stderr usage

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4406:
URL: https://github.com/apache/camel-k/issues/4406#issuecomment-1687229177

   This issue has been automatically marked as stale due to 90 days of inactivity.
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez closed issue #4406: Disclose CLI stderr usage

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #4406: Disclose CLI stderr usage
URL: https://github.com/apache/camel-k/issues/4406


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org