jif-oai
f55f864b9f
tui: make codex-tui.log opt-in ( #24081 )
...
## Why
The TUI currently creates a shared plaintext `codex-tui.log` under the
default log directory. That append-only file can keep growing across
runs even though the TUI already records diagnostics in bounded local
stores.
Make the plaintext file log an explicit troubleshooting choice instead
of a default side effect.
This is possible because logs are also stored in the DB with proper
rotation
## What changed
- Only install the TUI file logging layer when `log_dir` is explicitly
set.
- Remove the prior `codex-tui.log` at startup before an opt-in file
layer is created.
- Clarify the `log_dir` config/schema text and `docs/install.md` example
so users opt in with `codex -c log_dir=...` when they need a plaintext
log.
2026-05-22 17:19:51 +00:00
..
2026-05-22 12:50:42 +02:00
2026-03-28 11:23:07 -06:00
2026-05-20 14:59:41 -07:00
2026-05-21 12:26:36 -03:00
2026-05-05 11:17:47 -07:00
2026-05-20 14:59:41 -07:00
2026-05-15 15:04:04 -07:00
2026-05-13 15:33:27 +00:00
2026-04-21 17:10:36 +00:00
2026-05-13 16:08:05 +00:00
2026-05-18 20:24:09 -03:00
2026-04-07 08:03:35 -07:00
2026-04-30 22:42:48 -07:00
2026-05-11 21:08:40 -03:00
2026-05-14 21:19:06 -07:00
2026-05-19 11:22:00 -07:00
2026-05-10 20:42:11 +00:00
2026-05-10 11:45:49 -03:00
2026-05-15 17:10:15 -07:00
2026-05-12 10:43:17 -03:00
2026-05-20 21:55:21 +00:00
2026-04-30 11:34:34 -07:00
2026-05-21 12:26:36 -03:00
2026-04-30 11:34:34 -07:00
2026-05-22 12:50:42 +02:00
2026-05-22 12:50:42 +02:00
2026-04-30 10:52:19 -07:00
2026-04-13 18:27:00 -07:00
2026-04-10 20:25:31 -07:00
2026-05-07 20:31:41 -07:00
2026-05-04 16:11:15 -03:00
2026-05-21 12:26:36 -03:00
2026-05-14 18:51:36 -07:00
2026-05-05 16:18:02 +00:00
2026-03-28 11:23:07 -06:00
2026-05-13 15:40:37 -07:00
2026-03-28 11:23:07 -06:00
2026-05-22 12:50:42 +02:00
2026-05-13 12:11:15 -03:00
2026-04-25 22:00:32 -03:00
2026-05-20 17:33:01 -07:00
2026-04-30 10:52:19 -07:00
2026-04-30 11:34:34 -07:00
2026-03-28 11:23:07 -06:00
2026-05-14 15:16:15 +02:00
2026-05-09 16:10:56 -03:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-05 17:09:25 -03:00
2026-05-11 21:08:40 -03:00
2026-05-18 11:28:53 -07:00
2026-05-09 21:17:30 +00:00
2026-05-01 09:39:48 -07:00
2026-05-13 12:11:15 -03:00
2026-05-13 15:33:27 +00:00
2026-05-04 19:18:56 +00:00
2026-05-14 20:51:08 -07:00
2026-05-22 17:19:51 +00:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-05-14 17:11:36 -04:00
2026-05-18 11:32:02 -07:00
2026-05-10 20:42:11 +00:00
2026-05-10 20:42:11 +00:00
2026-05-10 20:42:11 +00:00
2026-05-10 20:42:11 +00:00
2026-04-19 22:39:53 -07:00
2026-04-29 17:22:41 -07:00
2026-04-25 22:00:32 -03:00
2026-05-01 09:07:56 -07:00
2026-04-30 11:34:34 -07:00
2026-04-25 17:09:29 -07:00
2026-05-13 15:33:27 +00:00
2026-05-14 14:33:54 -03:00
2026-05-15 17:10:15 -07:00
2026-04-25 22:00:32 -03:00
2026-05-22 12:50:42 +02:00
2026-03-28 11:23:07 -06:00
2026-05-20 15:57:50 -07:00
2026-05-22 17:19:51 +00:00
2026-05-04 11:46:03 -07:00
2026-05-20 11:05:14 -07:00
2026-03-28 11:23:07 -06:00
2026-04-20 20:46:55 -07:00
2026-05-20 15:49:35 +00:00
2026-05-14 18:51:36 -07:00
2026-05-09 21:17:30 +00:00
2026-05-01 09:07:56 -07:00
2026-05-09 16:10:56 -03:00
2026-05-10 20:42:11 +00:00
2026-05-18 09:04:02 -07:00
2026-05-18 09:04:02 -07:00
2026-04-17 08:39:37 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 11:34:34 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 22:42:48 -07:00
2026-05-08 07:56:13 -07:00
2026-04-20 00:37:40 +00:00
2026-04-25 22:00:32 -03:00
2026-05-18 09:04:02 -07:00
2026-03-28 11:23:07 -06:00
2026-05-19 23:13:49 -07:00
2026-04-25 22:00:32 -03:00
2026-04-25 17:09:29 -07:00
2026-04-25 17:09:29 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 11:34:34 -07:00
2026-04-25 22:00:32 -03:00
2026-05-05 17:09:25 -03:00
2026-05-13 14:19:05 -07:00