Repository navigation
docs(update): explain debug logging handoff failures - #177630
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2fd1ef68a4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| For this update, set `logging.consoleLevel` to `"info"` and remove any | ||
| `OPENCLAW_LOG_LEVEL=debug` override from the Gateway and update command's | ||
| environment. File logging can stay at `logging.level: "debug"`. Run |
There was a problem hiding this comment.
Cover every override that enables debug output
Operators using logging.consoleLevel: "trace", OPENCLAW_LOG_LEVEL=trace, or openclaw --log-level debug/trace update can hit the same failure because these settings also emit the offending debug line, and the CLI flag is converted into the environment override. The current workaround only tells readers to remove OPENCLAW_LOG_LEVEL=debug, so affected users may remain stuck even after setting logging.consoleLevel to info; instruct them to remove any debug-or-trace environment/CLI override.
Useful? React with 👍 / 👎.
Document the affected installed releases and the console-info workaround for managed-service-handoff-failed with debug logging. Explain that the old Gateway keeps serving and that updating to a fixed target still runs the affected installed helper. Release-note context: users of affected published versions should temporarily set logging.consoleLevel to info and remove OPENCLAW_LOG_LEVEL=debug, update, then restore their logging settings; debug file logging can remain enabled. Validation: docs formatting, Markdown lint, MDX validation, internal links, git diff --check, independent review, and exact-head required CI passed. No runtime changes.
What Problem This Solves
Operators updating an affected installed release with debug console logging can hit
managed-service-handoff-failedeven when the target includes the fix from #177563.User Impact
The update troubleshooting page now lists the affected installed versions, explains that the old Gateway keeps serving without data loss, and gives the temporary console-info workaround while preserving debug file logs.
Why This Change Was Made
The installed updater writes a debug line to its readiness channel before READY; a fixed target cannot replace that helper before the handoff. The entry distinguishes the installed version from the target and identifies 2026.9.5 and releases containing #177563 as unaffected.
Release-note context for the next release: document the debug-logging update handoff workaround for already-published affected versions. Users should temporarily set
logging.consoleLevelto"info", removeOPENCLAW_LOG_LEVEL=debug, update, then restore logging. File logging may remain atlogging.level: "debug".Evidence
logging.consoleLevel,logging.level, andOPENCLAW_LOG_LEVELagainstdocs/logging.md,src/logging/console.ts,src/logging/logger.ts, andsrc/logging/env-log-level.ts.git diff --check.