From 1cb9b1b1e25d93a1c133743a3ee2cb30278b28d5 Mon Sep 17 00:00:00 2001 From: Aditya Mandaleeka Date: Fri, 24 Jun 2022 13:57:01 -0700 Subject: [PATCH] Fix event name for the shutdown event in hosting. --- src/Hosting/Hosting/src/Internal/WebHost.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hosting/Hosting/src/Internal/WebHost.cs b/src/Hosting/Hosting/src/Internal/WebHost.cs index 44fbc1bacbdb..b2350b6ad006 100644 --- a/src/Hosting/Hosting/src/Internal/WebHost.cs +++ b/src/Hosting/Hosting/src/Internal/WebHost.cs @@ -371,7 +371,7 @@ private static partial class Log [LoggerMessage(4, LogLevel.Debug, "Hosting started", EventName = "Started")] public static partial void Started(ILogger logger); - [LoggerMessage(5, LogLevel.Debug, "Hosting shutdown", EventName = "Started")] + [LoggerMessage(5, LogLevel.Debug, "Hosting shutdown", EventName = "Shutdown")] public static partial void Shutdown(ILogger logger); [LoggerMessage(12, LogLevel.Debug, "Server shutdown exception", EventName = "ServerShutdownException")]