Skip to content

document that logs go to stderr and why kubectl exec runs are missing from kubectl logs - #1603

Merged
Slach merged 1 commit into
Altinity:masterfrom
realyota:docs-logging-stderr
Oct 10, 2026
Merged

Slach merged 1 commit into
Altinity:masterfrom
realyota:docs-logging-stderr

Conversation

@realyota

@realyota realyota commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Adds a ## Logging section to the README:

  • log messages go to stderr, stdout only carries the command output (since Logs of CLI commands should go to stderr? #969), so saving the log to a file needs 2>&1
  • docker logs / kubectl logs only show the container's main process, so commands started with docker exec / kubectl exec don't appear there; running them through the API puts their logs into the container log

The section sits before ## Common CLI Usage, so generate_manual.sh doesn't overwrite it.

@Slach
Slach merged commit fa8a49d into Altinity:master Oct 10, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants