openclaw/src/logging
ethanclaw 492e2a3060
fix(logs): find active log file across date boundaries (#42904)
* fix(logs): find active log file across date boundaries

Fixes #42875

When gateway runs across midnight, openclaw channels logs was looking
for today's log file instead of the active one. This change makes
the CLI find the most recently modified log file as a fallback.

(cherry picked from commit fba6b88e8644365360f82802cbe25039a091409d)

* fix(channels): resolve active log file for channel logs

(cherry picked from commit ee87397a4323f04fdd37a2fc136de02e648a92d5)

---------

Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
2026-04-28 19:11:14 -07:00
..
test-helpers fix(logging): keep log transport internals private (#71322) 2026-04-24 23:36:57 -07:00
config.test.ts fix(logging): read config path in bundled runtime 2026-04-25 22:21:15 -07:00
config.ts fix(logging): read config path in bundled runtime 2026-04-25 22:21:15 -07:00
console-capture.test.ts fix(logging): redact console and file sinks 2026-04-25 21:50:00 -07:00
console-settings.test.ts
console-timestamp.test.ts
console.ts fix(logging): read config path in bundled runtime 2026-04-25 22:21:15 -07:00
diagnostic-log-events.test.ts feat(logging): propagate request trace scopes 2026-04-26 14:13:14 -07:00
diagnostic-memory.test.ts
diagnostic-memory.ts
diagnostic-payload.ts
diagnostic-runtime.ts
diagnostic-session-state.ts fix(agents): scope loop detection to runs 2026-04-27 12:59:54 +01:00
diagnostic-stability-bundle.test.ts
diagnostic-stability-bundle.ts feat(diagnostics): capture model call size timing 2026-04-26 13:43:22 -07:00
diagnostic-stability.test.ts fix(models): enrich local transport failure diagnostics 2026-04-27 09:25:38 +01:00
diagnostic-stability.ts fix: prevent channel login exec wedges 2026-04-28 05:16:43 +01:00
diagnostic-stuck-session-recovery.integration.test.ts fix(gateway): recover stale session lanes 2026-04-28 20:37:29 +01:00
diagnostic-stuck-session-recovery.runtime.test.ts fix(gateway): recover stale session lanes 2026-04-28 20:37:29 +01:00
diagnostic-stuck-session-recovery.runtime.ts fix(gateway): recover stale session lanes 2026-04-28 20:37:29 +01:00
diagnostic-support-bundle.test.ts
diagnostic-support-bundle.ts perf: lazy load support bundle zip 2026-04-25 12:52:27 +01:00
diagnostic-support-export.test.ts fix(logging): redact URL query secrets 2026-04-27 10:56:47 +01:00
diagnostic-support-export.ts
diagnostic-support-log-redaction.ts
diagnostic-support-redaction.ts fix: align support URL redaction 2026-04-27 11:00:42 +01:00
diagnostic.test.ts fix(gateway): recover stale session lanes 2026-04-28 20:37:29 +01:00
diagnostic.ts fix(gateway): recover stale session lanes 2026-04-28 20:37:29 +01:00
env-log-level.ts
level-filter.test.ts
levels.test.ts
levels.ts
log-file-path.ts
log-file-size-cap.test.ts fix(logging): rotate file logs instead of suppressing 2026-04-25 22:55:33 -07:00
log-tail.test.ts
log-tail.ts fix(logs): find active log file across date boundaries (#42904) 2026-04-28 19:11:14 -07:00
log-test-helpers.ts
logger-env.test.ts fix(logging): rotate file logs instead of suppressing 2026-04-25 22:55:33 -07:00
logger-redaction-behavior.test.ts feat(logging): add file log correlation fields 2026-04-26 15:01:19 -07:00
logger-settings.test.ts fix(logging): read config path in bundled runtime 2026-04-25 22:21:15 -07:00
logger-timestamp.test.ts
logger-transport.test.ts refactor: expose SDK test helper subpaths 2026-04-28 03:28:17 +01:00
logger.browser-import.test.ts refactor: expose SDK test helper subpaths 2026-04-28 03:28:17 +01:00
logger.settings.test.ts
logger.ts fix(logging): skip unserializable file log message parts 2026-04-26 15:01:19 -07:00
node-require.ts
parse-log-line.test.ts
parse-log-line.ts
redact-bounded.ts
redact-identifier.ts
redact.test.ts refactor(config): migrate plugin config access 2026-04-27 12:35:58 +01:00
redact.ts fix(agents): redact Control UI tool payload secrets (#72319) 2026-04-27 23:30:50 +01:00
state.ts
subsystem.test.ts fix(logging): redact subsystem console output before colorizing 2026-04-28 07:36:50 +01:00
subsystem.ts fix(test): stabilize core runtime infra shard 2026-04-28 17:31:35 -07:00
timestamps.test.ts
timestamps.ts
types.ts