You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In our web application we use new JsonFormatter(null, renderMessage: true) to format our messages to the console as JSON, including the RenderMessage.
In ASP.NET Core 7 this resulted in messages like the following:
Description
In our web application we use
new JsonFormatter(null, renderMessage: true)
to format our messages to the console as JSON, including the RenderMessage.In ASP.NET Core 7 this resulted in messages like the following:
In ASP.NET Core 8, they changed the message template of the log entry and now it shows a bit differently:
Note the quotes in the URL.
Is there a way to configure the MessageTemplateRenderer to use literal values instead of quoted json strings?
Relevant package, tooling and runtime versions
Serilog 3.1.1 via Serilog.AspNetCore 7.0.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: