Skip to content

perf(logging): default file log level to info#14

Merged
gsokoll merged 2 commits into
masterfrom
perf/file-log-default-info
May 15, 2026
Merged

perf(logging): default file log level to info#14
gsokoll merged 2 commits into
masterfrom
perf/file-log-default-info

Conversation

@gsokoll

@gsokoll gsokoll commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Default file log filter changes from oxide_gnss=debug,ntrip_core=info,info to info globally. Per-epoch debug!() events on the device, ROS, and NTRIP hot paths are no longer written to the file appender by default.
  • OXIDE_GNSS_FILE_LOG=oxide_gnss=debug restores the previous behavior when actively debugging. RUST_LOG continues to control stderr independently and is unchanged.
  • See ferrous_gnss docs/PROFILING.md for the profiling investigation that motivated this. Impact on oxide_gnss has not been measured in this repo.

gsokoll added 2 commits May 15, 2026 16:11
The previous default file filter was `oxide_gnss=debug,ntrip_core=info,info`, which
caused every per-epoch `debug!()` event to be emitted to the file appender. This wasunnecessary.

Default file filter is now `info`. Set `OXIDE_GNSS_FILE_LOG=oxide_gnss=debug`
to restore the previous behavior when actively debugging. `RUST_LOG` continues
to control stderr filtering separately and is unchanged.
Note the file log filter default change under [Unreleased].
@gsokoll gsokoll merged commit 034a43e into master May 15, 2026
7 checks passed
@gsokoll gsokoll deleted the perf/file-log-default-info branch May 15, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant