Skip to content

docs(update): explain debug logging handoff failures - #177630

Merged
steipete merged 1 commit into
mainfrom
codex/nodew-r9-updatedocs
Oct 19, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/nodew-r9-updatedocs

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Operators updating an affected installed release with debug console logging can hit managed-service-handoff-failed even 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.consoleLevel to "info", remove OPENCLAW_LOG_LEVEL=debug, update, then restore logging. File logging may remain at logging.level: "debug".

Evidence

  • Verified logging.consoleLevel, logging.level, and OPENCLAW_LOG_LEVEL against docs/logging.md, src/logging/console.ts, src/logging/logger.ts, and src/logging/env-log-level.ts.
  • Affected-version list comes from the source audit for fix(update): prevent debug logs from blocking Gateway updates #177563; only 2026.10.5 has live reproduction evidence. This docs-only PR does not claim a new live update test.
  • Passed: frozen-lockfile install, changed-file oxfmt, Markdown lint, changed-file MDX validation, docs link audit (15,723 internal links; zero broken), and git diff --check.
  • Production LOC: 0. Test LOC: 0. Documentation: +25 lines in one file; no runtime or configuration changes.
  • Independent Codex autoreview: scoped-clean, no actionable P0 findings; source settings were checked directly by the implementing maintainer.

@clawsweeper

clawsweeper Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review October 19, 2026 19:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T19:20:00.647663Z 2fd1ef6 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS labels Oct 19, 2026
@steipete
steipete merged commit b413bdc into main Oct 19, 2026
122 of 123 checks passed
@steipete
steipete deleted the codex/nodew-r9-updatedocs branch October 19, 2026 19:18

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +282 to +284
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 20, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant