# task-logs Task logs, their endpoint and proxy. Generated by `make records` from the decisions whose `topic` (or `also`) is this one; edit the decisions, not this page. ## Current ### Reading logs - **The live log tail reads the worker range endpoint** (D23): The server reads new log bytes from the worker’s range endpoint using `from`. Since D175 the browser requests each part while the attempt runs. ### From other topics - Mask task logs and outputs when shown (D131, `secrets`; built M4.4b) - Live UI pages share one stream per browser (D175, `ui-cli`; built M4.6f) ## Replaced None. ## Where in code - `crates/schedr-api/src/logs.rs::masked_lines` (D131) - `crates/schedr-api/src/routes.rs::shown` (D131) - `crates/schedr-api/src/views.rs` (D131) - `crates/schedr-config/src/masked.rs::mask_data` (D131) - `crates/schedr-ui/src/assets.rs::LIVE` (D175) - `crates/schedr-ui/src/live.rs::TAIL_INTERVAL` (D175) - `crates/schedr-ui/src/live.rs::tail` (D23) ## Open None. Details and edge cases, with the reasons; read them before changing this: - archive/PROJECT.md: Web UI and CLI