Expand description
Durable process logging and low-cost periodic performance summaries.
Rust module processes use one file per PID. That avoids cross-process rename races while preserving a single greppable directory for all AFT activity.
Functions§
- init
- Initialize the
RUST_LOG-filtered stderr logger and its additive file sink. - note_
callgraph_ invalidations - Called after watcher-driven callgraph
refresh_filessucceeds for concrete paths. - note_
drain_ paths - Called when a watcher drain slice takes paths from dispatch continuation state.
- note_
drain_ slice - Called by the standalone request loop before a request-triggered runtime drain.
- note_
semantic_ collect - Called after
SemanticIndex::collect_chunkshas collected one real file batch. - note_
tier2_ scan - Called by
Tier2PhaseTimings::logafter a Tier-2 scan performs measurable work. - note_
tool_ call_ trace - Record a completed subc tool call for slow-call diagnostics and the standing
perf-tick window. The writer calls this only after
write_allhas handed the complete response frame to the transport. - note_
watcher_ events - Called by
drain_watcher_events_boundedfor dispatch events actually received. - note_
watcher_ overflow - Called when
drain_watcher_events_boundedreceives a rescan-required overflow signal. - perf_
tick - Sample executor liveness and emit one busy-only aggregate at the configured cadence.
- sync_
storage_ root - Move subsequent file log writes to a newly configured storage root.