From c56d74bd3c4caf561974ee641ab7992dd648afed Mon Sep 17 00:00:00 2001 From: Dmitry Kovba Date: Thu, 19 Feb 2026 19:42:36 -0800 Subject: [PATCH] Downgrade the mapping of warnings to the default log level (#1238) - Upgrading warnings to error level is counterintuitive. Since there is no warning level, use default level. --- Sources/ContainerLog/OSLogHandler.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/ContainerLog/OSLogHandler.swift b/Sources/ContainerLog/OSLogHandler.swift index a9eb9a89..227e35e0 100644 --- a/Sources/ContainerLog/OSLogHandler.swift +++ b/Sources/ContainerLog/OSLogHandler.swift @@ -93,9 +93,9 @@ extension Logger.Level { return .debug case .info: return .info - case .notice: + case .notice, .warning: return .default - case .error, .warning: + case .error: return .error case .critical: return .fault