Skip to content

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

Closed

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.

Activity

  1. added
    bugSomething isn't working
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Feb 9, 2026
  2. github-actions commented on Feb 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. etraut-openai commented on Feb 9, 2026

    @etraut-openai
    Contributor

    Thanks for the bug report. I just merged a fix for this.

    To clarify, you're using an alpha prerelease version, right?

  4. vjain419 commented on Feb 9, 2026

    @vjain419
    ContributorAuthor

    Thanks alot @etraut-openai . yes I was trying to see if anything recently merged which could have fix this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions