diff --git a/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift b/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift index c058bf3d..f10f07b1 100644 --- a/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift +++ b/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift @@ -39,7 +39,8 @@ public final class LambdaRuntime: @unchecked Sendable where Handler: St // this approach is less flexible but more performant than reading the value of the environment variable at each invocation var log = logger log.logLevel = Lambda.env("LOG_LEVEL").flatMap(Logger.Level.init) ?? .info - self.logger = logger + self.logger = log + self.logger.debug("LambdaRuntime initialized") } public func run() async throws {