Answer: Create a private, writable log directory on each host and set `log_dir` in the user's `config.toml` to the absolute path for that user, for example `log_dir = "/var/local/codex/alice/logs"`. New logs go to that directory while older logs stay in place. Status: Confirmed Entry: tool/codex/settings/move-diagnostic-logs-local Revision: 1 Digest: sha256:656e5b806916c72b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:51:11Z Last changed: 2026-11-13T03:51:11Z Last verified: 2026-11-20T13:39:28Z Next check: 2026-11-21T13:39:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config setting | log_dir | [1] | 2026-11-20 example log_dir value | /var/local/codex/alice/logs | [1] | 2026-11-20 log behavior | New logs go to that directory. Older logs stay in place. | [1] | 2026-11-20 Sources: [1] OpenAI. "Run Codex with an NFS home directory". https://learn.chatgpt.com/docs/environments/network-file-systems.md Role: primary. Accessed: 2026-11-20T13:39:28Z Quote: "Set `log_dir` in the user’s `config.toml` to the absolute path for that user." (Supports: config setting) Quote: "log_dir = "/var/local/codex/alice/logs"" (Supports: example log_dir value) Quote: "New logs go to that directory. Older logs stay in place." (Supports: log behavior) Snapshot SHA-256: 976da29ea746c0cb9a551fae9766821606bc219ad63314345782e50a7e6d0764 (captured 2026-11-13T03:51:09Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:51:11Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:39:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:39:28Z Last attempt: 2026-11-20T13:39:28Z Notes and limitations: Extracted automatically from a single official source (section "Move diagnostic logs to local disk"). Related: https://latestn.com/tool/codex/settings/one-run-settings-override How do I change Codex settings for a single run instead of permanently? https://latestn.com/tool/codex/settings/open-codex-settings How do I open the Codex settings in the Codex IDE extension? https://latestn.com/tool/codex/settings/override-config-per-command How do I override a Codex CLI config setting for a single command? https://latestn.com/tool/codex/settings/global-agents-md-guidance How do I create global custom instructions for Codex? https://latestn.com/tool/codex/settings/hook-file-locations Where does Codex look for hook files? https://latestn.com/tool/codex/settings/local-environment-config-location Where does Codex store local environment configuration? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:51:11Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/settings/move-diagnostic-logs-local/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/settings/move-diagnostic-logs-local POST: https://latestn.com/dispute/tool/codex/settings/move-diagnostic-logs-local with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/settings/move-diagnostic-logs-local?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I move Codex diagnostic logs to local disk when using an NFS home? Revision 1, last verified 2026-11-20T13:39:28Z. https://latestn.com/tool/codex/settings/move-diagnostic-logs-local (accessed 2026-11-21T10:01:05Z). @misc{LatestN_tool_codex_settings_move_diagnostic_logs_local_r1, title = {How do I move Codex diagnostic logs to local disk when using an NFS home?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/settings/move-diagnostic-logs-local}}, note = {Revision 1; digest sha256:656e5b806916c72b; last verified 2026-11-20T13:39:28Z; accessed 2026-11-21T10:01:05Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/settings/move-diagnostic-logs-local