Skip to content

Commit

Permalink
Fix duplicated event names in KestrelTrace logger. (dotnet#31523)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvoronin committed Apr 6, 2021
1 parent c8035cd commit 17edb82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ internal class KestrelTrace : IKestrelTrace
LoggerMessage.Define<string, string>(LogLevel.Information, new EventId(33, "RequestBodyDrainTimedOut"), @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": automatic draining of the request body timed out after taking over 5 seconds.");

private static readonly Action<ILogger, string, string, Exception?> _applicationAbortedConnection =
LoggerMessage.Define<string, string>(LogLevel.Information, new EventId(34, "RequestBodyDrainTimedOut"), @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": the application aborted the connection.");
LoggerMessage.Define<string, string>(LogLevel.Information, new EventId(34, "ApplicationAbortedConnection"), @"Connection id ""{ConnectionId}"", Request id ""{TraceIdentifier}"": the application aborted the connection.");

private static readonly Action<ILogger, string, Http2ErrorCode, Exception> _http2StreamResetAbort =
LoggerMessage.Define<string, Http2ErrorCode>(LogLevel.Debug, new EventId(35, "Http2StreamResetAbort"),
Expand Down

0 comments on commit 17edb82

Please sign in to comment.