elastic / elastic/ecs-dotnet

[BUG]Configuration no effect in appsettings.json's Serilog section.

Open
#492 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
137
Forks
70
PR merge metrics
No merged PRs in 30d

Description

My appsettings.json:
```
{
"Serilog": {
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console",
"Args": {
"formatter": "Elastic.CommonSchema.Serilog.EcsTextFormatter, Elastic.CommonSchema.Serilog",
"includeHost": false,
"includeProcess": false,
"includeUser": false,
"includeActivityData": false
}
}
]
}
}
]
}
```
But the host, user, and other sections are still showed in the log.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.