mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-28 08:52:37 -04:00
Drop the IsLevelEnabled pre-checks around the cost-audit trail: the lines keep WARN severity, but emission is no longer constrained by a level gate on our side — filtering is left entirely to the logger's own configuration. When the middleware context carries no logger, fall back to the process-wide standard logger instead of skipping, so the audit trail never silently disappears.