mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-25 09:01:29 +02: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.