serilog-aspnetcore icon indicating copy to clipboard operation
serilog-aspnetcore copied to clipboard

Serilog integration for ASP.NET Core

Results 38 serilog-aspnetcore issues
Sort by recently updated
recently updated
newest added

also * file scoped namespaces * move common settings to props

Serilog 2.10.0 -> 2.11.0 (for net5.0) Microsoft.Extensions.DependencyInjection 5.0.0 -> 5.0.2

**Description** `RequestLoggingMiddleware` logs all exceptions with HTTP status code 500 even if the actual status code sent to the client is a different one. **Reproduction** 1. Use `app.UseSerilogRequestLogging();` 2. Have...

bug

https://github.com/serilog/serilog-aspnetcore/issues/345 If you want to add properties to the diagnostic context that require async calls (e.g. reading request body), EnrichDiagnosticContextAsync allows to hand over your own async method.

**Is your feature request related to a problem? Please describe.** I want to enrich the http logging with Serilog by parts of the request body. Therefore, I read from the...

enhancement

**Description** When specifying a logger through the Logger property of the options, it appears that this logger is not the one that will be used to log requests. **Reproduction** `...

documentation

**Description** When I execute (both localy and on the CD) the "efbundle.exe" generated by entity framework with the new version of serilog-astpnetcore (7.0 instead of 6.1), I have this error:...

bug

**Is your feature request related to a problem? Please describe.** If my application uses `UseSerilogRequestLogging` all unhandled exceptions are logged twice. This causes logs to be more long/complicated than they...

enhancement

**Is your feature request related to a problem? Please describe.** No. **Describe the solution you'd like** The `RequestLoggingMiddleware.cs` has its standard HTTP request attributes that are logged for every request....

enhancement

Can anybody please provide me way to use serilog in my ASP dot net core 6.0 application, I have multiple project assembly and I want to use serilog in all...

bug