-
The enrichers provided by ClientInfo are not thread-safe. This is a problem when concurrent tasks are trying to log inside the scope of a request. For example in the following situation:
```csharp
…
basvd updated
7 months ago
-
In .net 5 webApi project with FluentValidation:
When automatic model validation fails, custom header that was sent in request is cleared.
Would you kindly point out what am I missing?
configura…
-
if you declare a double variable and assign it a value of 8.2535170109512364E+28 then try to log this seq rejects the payload with this message
```
[2021-04-12T11:52:38.8713351+03:00 DBG] Rejectin…
-
## Is your feature request related to a problem? Please describe.
When debugging an issue, it is supremely helpful to see the inner exception associated with an exception. Currently, the serilog form…
-
**Does this issue relate to a new *feature* or an existing *bug*?**
- [x] Bug
- [ ] New Feature
**What version of Serilog is affected? Please list the related NuGet package.**
2.8.0
**What…
-
This is not something that can be easily fixed in an enricher, but would require changes to the sinks being used.
Exceptions are immutable but might contain sensitive data anywhere in the message or s…
-
**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 log…
-
Sometimes a scoped service needs to be injected into a depending class that is sometimes used inside a scope and sometimes outside a scope. An example would be a Log Enrichter that wants to access dat…
-
I've written a company-internal logging library within which I utilize both Serilog as well as some enrichers. The library itself targets .NET Standard 2.0. So far so good.
The problem arises when …
-
When creating a Serilog ILogEventEnricher everything works fine until I try to access session. Doing so throws the following error:
Session has not been configured for this application or request.
…