Back to Aspnetcore

Breaking change: Kestrel: Log message attributes changed

aspnetcore/breaking-changes/6/kestrel-log-message-attributes-changed.md

latest1.4 KB
Original Source

Kestrel: Log message attributes changed

Kestrel log messages have associated IDs and names. These attributes uniquely identify different kinds of log messages. Some of those IDs and names were incorrectly duplicated. This duplication problem is fixed in ASP.NET Core 6.0.

Version introduced

ASP.NET Core 6.0

Old behavior

The following table shows the state of the affected log messages before ASP.NET Core 6.0.

Message descriptionNameID
HTTP/2 connection closed log messagesHttp2ConnectionClosed36
HTTP/2 frame sending log messagesHttp2FrameReceived37

New behavior

The following table shows the state of the affected log messages in ASP.NET Core 6.0.

Message descriptionNameID
HTTP/2 connection closed log messagesHttp2ConnectionClosed48
HTTP/2 frame sending log messagesHttp2FrameSending49

Reason for change

Log IDs and names should be unique so different message types can be identified.

If you have code or configuration that references the old IDs and names, update those references to use the new IDs and names.

<!-- ## Category ASP.NET Core ## Affected APIs Not detectable via API analysis -->