From f0be10cc93587a3e8e936efc5d1c2ea919d8553c Mon Sep 17 00:00:00 2001 From: shreyas jejurkar Date: Mon, 18 Jan 2021 18:08:18 +0530 Subject: [PATCH] Changed logLevel to Information instead of warning for EphemeralDataProtectionProvider Fixes https://github.com/dotnet/aspnetcore/issues/29107 --- src/DataProtection/DataProtection/src/LoggingExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataProtection/DataProtection/src/LoggingExtensions.cs b/src/DataProtection/DataProtection/src/LoggingExtensions.cs index 9978de1bc08e..91e90357a325 100644 --- a/src/DataProtection/DataProtection/src/LoggingExtensions.cs +++ b/src/DataProtection/DataProtection/src/LoggingExtensions.cs @@ -327,7 +327,7 @@ static LoggingExtensions() formatString: "Encrypting using a null encryptor; secret information isn't being protected."); _usingEphemeralDataProtectionProvider = LoggerMessage.Define( eventId: new EventId(45, "UsingEphemeralDataProtectionProvider"), - logLevel: LogLevel.Warning, + logLevel: LogLevel.Information, formatString: "Using ephemeral data protection provider. Payloads will be undecipherable upon application shutdown."); _existingCachedKeyRingIsExpiredRefreshing = LoggerMessage.Define( eventId: new EventId(46, "ExistingCachedKeyRingIsExpiredRefreshing"),