Closed JakobWl closed 1 year ago
https://github.com/serilog/serilog-aspnetcore/issues/251#issuecomment-1346941159 might help. If this turns out to be a new/unique issue, it'll need a repro in order for someone to be able to debug. Thanks!
I tracked it back to using automapper collection with useentityframeworkcotext where the error originated from. In the end i think it was my own mistake not reading the instructions well enough i will close this issue thanks though!
Description What's going wrong?
Here is my program.cs
Here is my config
Has anyone ever seen this issue. It happens on every request due to Serilog request logging Reproduction I sadly cant even reproduce it myself in a new project
Expected behavior No Exception
Relevant package, tooling and runtime versions Serilog.AspNetCore 6.1.0 .net 6 asp net core
Additional context Add any other context about the problem here.