-
I've configured the logger this way:
```
Log.Logger = new LoggerConfiguration()
.Enrich.FromLogContext()
.WriteTo.File(logsFile, rollingInterval: RollingInterval.…
brgrz updated
5 years ago
-
Project Core MVC.
```
```
Everything is working well enough, although looking for a way to understand Enrich.FromLogContext(). It seems that when you add {properties} to t…
-
I am trying to have my payload.message treated as an object, but it always indexes as text. I have configured my "outputs" to successfully log text to ElasticSearch, but I want to have it as JSON inst…
-
**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.9.0
**What i…
-
I'm using your plugin for Request Logging, however, I would like to bootstrap an enricher to your registration. Is this possible?
-
We should consider providing an in-the-box solution for propagating headers from the current request to an outgoing http request.
This would consist of a middleware that can be configured to *stamp…
-
> @nblumhardt Is there a way to enable an enricher only when a specific severity level is enabled? It would be nice to be able to use this code only when, say, Verbose is enabled.
_Originally poste…
-
`RequestLoggingMiddleware` does not include `RequestId`, is this on purpose or provided via a similar package?
If not, are there plans to surface the information as well?
-
There is a use-case where our application stores in the LogEvent properties a Dictionary element:
```
var embeddedLogCtx = new Dictionary();
DateTimeOffset embeddedLogTimeStamp = GetEmbeddedLogTi…
-
Is there a way to add logging properties so that they can be later logged by classes higher in the call stack?
I've tried LogContext.PushProperty() but the added properties are not available to any…