You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`model.lora.alpha`**: Changed default from 16.0 to 32.0 (2026-01-10)
34
34
-**`orchestrator.env.log`**: Added logging configuration for environment workers. If set, enables logging with `level` (str, default: "warn") and `vf_level` (str, default: "warn") fields. If None (default), logging is disabled (#1561, 2026-01-13)
35
35
-**`eval.watcher`**: Added flag (default `False`) to watch `weights_dir` for newly-created stable checkpoints and evaluate them as they appear (2026-01-14)
36
+
-**`orchestrator.log.env_worker_logs`**: Added flag (default `True`) to write env worker logs to `logs/env_workers/{env_name}.log` (2026-01-15)
37
+
-**`orchestrator.env.log`**: Removed. Use `orchestrator.log` for env worker logging instead (2026-01-15)
36
38
-**`orchestrator.eval.retry.reraise`**: Changed default from `True` to `False`. When `False`, raises `tenacity.RetryError` after retries are exhausted instead of the original exception, allowing failed eval environments to be skipped with a warning (#1586, 2026-01-14)
Copy file name to clipboardExpand all lines: docs/logging.md
+11-15Lines changed: 11 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,32 +57,28 @@ For RL training, logs are organized by component:
57
57
58
58
## Per-Environment Worker Logging
59
59
60
-
Environment workers run in **separate subprocesses** to isolate event loop lag. By default, they don't write to separate log files. To enable per-env logging, set the `log` field on the environment config:
60
+
Environment workers run in **separate subprocesses** to isolate event loop lag. Worker logging is controlled at the orchestrator level via `orchestrator.log`:
61
61
62
62
```toml
63
-
[[orchestrator.env]]
64
-
id = "math-env"
65
-
name = "math"
66
-
log = { level = "debug", vf_level = "info" }
63
+
[orchestrator.log]
64
+
level = "debug"# Log level for prime-rl logger
65
+
vf_level = "info"# Log level for verifiers library
66
+
env_worker_logs = true# Enable file logging for env workers
67
67
```
68
68
69
-
This produces:
69
+
When `env_worker_logs = true`, logs are written to:
70
70
```
71
71
output_dir/
72
72
└── logs/
73
73
└── env_workers/
74
-
└── math/
75
-
├── worker_0.log
76
-
├── worker_1.log
77
-
└── ...
74
+
├── {env_name_1}.log
75
+
├── {env_name_2}.log
76
+
└── ...
78
77
```
79
78
80
-
### Configuration Options
79
+
All workers for an environment share the same log file.
0 commit comments