Skip to content

codex-tui.log grows rapidly due to file_watcher Access(Open) INFO spam (v0.99.0) #11202

@vjain419

Description

@vjain419

Summary

codex-tui.log grows extremely fast because codex_core::file_watcher logs every Access(Open) event at INFO. On my system it reached ~536 MB (2,294,753 lines) within a short time. ~2,320,855 lines are identical file-watcher open events.

Version

  • Codex: 0.99.0

  • Log path: /home/.codex/log/codex-tui.log

Evidence (top normalized messages)

2320855 INFO codex_core::file_watcher: file watcher received filesystem event event_kind=Access(Open(Any)) event_paths=[...] event_attrs=EventAttributes { inner: None }
  13046 INFO codex_core::skills::manager: skills cache cleared (… entries)

Sample log lines

2026-02-09T16:12:40.861463Z  INFO codex_core::file_watcher: file watcher received filesystem event event_kind=Access(Open(Any)) event_paths=["/home/.codex/skills/.system/skill-installer/assets"] event_attrs=EventAttributes { inner: None }
2026-02-09T16:12:40.861491Z  INFO codex_core::file_watcher: file watcher received filesystem event event_kind=Access(Open(Any)) event_paths=["/home/.codex/skills/.system/skill-installer/scripts"] event_attrs=EventAttributes { inner: None }

Impact

  • Log file grows to hundreds of MB quickly.
  • Disk churn and noise makes the log hard to use for debugging.

Expected behavior

  • Access(Open) events should be either debounced, aggregated, or logged at DEBUG/TRACE (not INFO).
  • Ideally, file watcher should log high-level changes, not every open access.

Actual behavior

  • Every Access(Open) event is logged at INFO.

Notes

Most of the events point into .codex/skills directories (assets/scripts/agents). It looks like something is repeatedly scanning or touching those paths, and every open is emitted at INFO.

If you need more detail (or a full log excerpt), I can provide it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions