serilog-aspnetcore
serilog-aspnetcore copied to clipboard
Serilog integration for ASP.NET Core
https://github.com/serilog/serilog-aspnetcore/blob/76f4a513e0538418b829ff4ef266444351b726fa/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj#L31 There is no code in the project that depends on the `Serilog.Sinks.File` package. This causes the resulting `Serilog.AspNetCore` NuGet package to carry along an unnecessary dependency.
**Description** `UseSerilog(writeToProviders: true)` is causing `Microsoft.Extensions.Logging.EventSource.EventSourceLogger` instances to leak in memory. Honestly I'm not sure if this is something that could be prevented on serilog's side or should be addressed...
**Description** When updating the Serilog.AspNetCore Nuget package in a .Net 5.0 Windows Service from 3.4.0 to 4.0.0 and publishing the service in Release mode, the service fails to start because...
**Is your feature request related to a problem? Please describe.** I had a requirement where I needed to log multiple operations in a single event, but outside of AspNetCore. To...
**Is your feature request related to a problem? Please describe.** I just had to create a substantial amount of code to add many other properties from the current request to...
**Is your feature request related to a problem? Please describe.** My main problem is that I want to log more when there has been an exception. And the response code...
Documentation: Usage Instructions do not present the simplest way of setting up Serilog.AspNetCore
**Is your feature request related to a problem? Please describe.** Comming to Serilog and .Net Core I had to spend hours of trying to find out the simplest way of...
**Is your feature request related to a problem? Please describe.** The way `RequestLoggingMiddleware` currently fetches the `ILogger` instance is through the options class and fallback to the static logger. I...
**Is your feature request related to a problem? Please describe.** Currently, this library exposes a `UseSerilogRequestLogging` method to be used inside the `Configure` method, but does not expose a method...
If UseSerilog() is used to register a configured logger so that it resolves to Microsoft.Extensions.Logging.ILogger, then what is the recommended way to re-register it once the application is running and...