You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We log custom property values using log4net with this code: LogicalThreadContext.Stacks["UserName"].Push("jsmith")
Elasticsearch receives this as
"UserName": {
"Count": 1
},
expected is
"UserName": "jsmith",
For the reference, correct value ('jsmith' in the example above) gets logged by RollingFileAppender, so it looks like something in log4stash causing this issue. We use latest (1.1.1) log4stash version with MS webapi project targeting .NET 4.6. Our appender config looks like this:
We log custom property values using log4net with this code:
LogicalThreadContext.Stacks["UserName"].Push("jsmith")
Elasticsearch receives this as
expected is
For the reference, correct value ('jsmith' in the example above) gets logged by RollingFileAppender, so it looks like something in log4stash causing this issue. We use latest (1.1.1) log4stash version with MS webapi project targeting .NET 4.6. Our appender config looks like this:
The text was updated successfully, but these errors were encountered: