You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep this same-day regression report open. Current main still uses the 2026.4.24 Logs tab path (logs.tail -> configured file-log tail -> UI entries), and I found no post-release functional fix, duplicate, or merged PR that resolves the reported empty Web UI logs after upgrading to 2026.4.24.
Best possible solution:
Keep this issue open and investigate the 2026.4.24 Logs tab path end to end. First reproduce or ask the reporter for the logs.tail response, browser console/network error, install method, logging.file config, and whether openclaw logs --follow or openclaw gateway call logs.tail --params '{"limit":50}' returns lines on the same host. The likely fix belongs in the generic logging/UI path: either correct configured log-file discovery/cursor behavior in src/logging/log-tail.ts or surface a clearer UI error/diagnostic in ui/src/ui/controllers/logs.ts and ui/src/ui/views/logs.ts, with a regression test for the confirmed failure mode.
What I checked:
Issue context: The provided GitHub context reports a fresh regression after upgrading to 2026.4.24: expected Web UI logs to display, actual logs are empty; there are no comments, linked PRs, or duplicate pointers in the provided timeline.
UI fetch path: The Logs controller still requests logs.tail, maps payload.lines into entries, and replaces the UI entries when the request is reset or the cursor is unset. Empty lines therefore directly produces an empty Logs tab. (ui/src/ui/controllers/logs.ts:111, bfdee5fa72cc)
Empty-state rendering: The Logs view renders No log entries. whenever the filtered entry list is empty, matching the user-visible symptom if logs.tail returns no lines or the UI state is cleared. (ui/src/ui/views/logs.ts:132, bfdee5fa72cc)
Gateway method path: The gateway logs.tail handler still validates params and delegates to readConfiguredLogTail; no current-main code in this handler addresses a 2026.4.24 upgrade empty-log regression. (src/gateway/server-methods/logs.ts:10, bfdee5fa72cc)
Log-tail behavior:readConfiguredLogTail resolves the configured log file and readLogSlice returns an empty lines array when the file is missing, empty, or the cursor is at the current size. That leaves plausible unfixed causes in configured path resolution, file creation, cursor handling, permissions, or runtime logging after upgrade. (src/logging/log-tail.ts:62, bfdee5fa72cc)
Release-to-main history: The Logs tab and logs.tail implementation were introduced in the v2026.4.24 release commit, and a targeted diff from v2026.4.24 to current main shows no functional changes to the UI controller/view, server handler, or log-tail implementation; only unrelated protocol/test changes appear in the touched set. (bfdee5fa72cc)
Remaining risk / open question:
The root cause is not yet isolated; maintainers need the logs.tail RPC payload, browser console/network result, configured logging.file, and on-disk log-file state from the affected Ubuntu 20.04 install.
Closing now would discard a same-day regression report against the latest release without evidence of an implemented fix or a canonical duplicate.
Codex Review notes: model gpt-5.5, reasoning high; reviewed against bfdee5fa72cc.
Closing as fixed on main. Lazy Control UI panel failures now surface loading/reload/retry states instead of leaving the Logs tab blank after stale bundles in c6ebd99, which is on origin/main. The changelog records it as fixing #72450.
Activity
clawsweeper commentedon Apr 27, 2026
Codex automated review: keeping this open.
Keep this same-day regression report open. Current main still uses the 2026.4.24 Logs tab path (
logs.tail-> configured file-log tail -> UI entries), and I found no post-release functional fix, duplicate, or merged PR that resolves the reported empty Web UI logs after upgrading to 2026.4.24.Best possible solution:
Keep this issue open and investigate the 2026.4.24 Logs tab path end to end. First reproduce or ask the reporter for the
logs.tailresponse, browser console/network error, install method,logging.fileconfig, and whetheropenclaw logs --followoropenclaw gateway call logs.tail --params '{"limit":50}'returns lines on the same host. The likely fix belongs in the generic logging/UI path: either correct configured log-file discovery/cursor behavior insrc/logging/log-tail.tsor surface a clearer UI error/diagnostic inui/src/ui/controllers/logs.tsandui/src/ui/views/logs.ts, with a regression test for the confirmed failure mode.What I checked:
logs.tail, mapspayload.linesinto entries, and replaces the UI entries when the request is reset or the cursor is unset. Emptylinestherefore directly produces an empty Logs tab. (ui/src/ui/controllers/logs.ts:111, bfdee5fa72cc)No log entries.whenever the filtered entry list is empty, matching the user-visible symptom iflogs.tailreturns no lines or the UI state is cleared. (ui/src/ui/views/logs.ts:132, bfdee5fa72cc)logs.tailhandler still validates params and delegates toreadConfiguredLogTail; no current-main code in this handler addresses a 2026.4.24 upgrade empty-log regression. (src/gateway/server-methods/logs.ts:10, bfdee5fa72cc)readConfiguredLogTailresolves the configured log file andreadLogSlicereturns an emptylinesarray when the file is missing, empty, or the cursor is at the current size. That leaves plausible unfixed causes in configured path resolution, file creation, cursor handling, permissions, or runtime logging after upgrade. (src/logging/log-tail.ts:62, bfdee5fa72cc)logs.tailimplementation were introduced in the v2026.4.24 release commit, and a targeted diff from v2026.4.24 to current main shows no functional changes to the UI controller/view, server handler, or log-tail implementation; only unrelated protocol/test changes appear in the touched set. (bfdee5fa72cc)Remaining risk / open question:
logs.tailRPC payload, browser console/network result, configuredlogging.file, and on-disk log-file state from the affected Ubuntu 20.04 install.Codex Review notes: model gpt-5.5, reasoning high; reviewed against bfdee5fa72cc.
steipete commentedon Apr 30, 2026
Closing as fixed on main. Lazy Control UI panel failures now surface loading/reload/retry states instead of leaving the Logs tab blank after stale bundles in c6ebd99, which is on origin/main. The changelog records it as fixing #72450.