-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Exceptions aren't logged to target when using ElasticCommonSchema #139
Comments
Same behaviour with Serilog when using EcsTextFormatter (as described in this documentation https://www.elastic.co/guide/en/apm/agent/dotnet/master/serilog.html#serilog |
It seems the issue has been fixed as I have tested the source code and it works fine. |
@Leftyx @fabianrieder I'm looking at pushing out a new release |
@Leftyx 1.5.3 has been released to nuget. Are you able to upgrade and report if it solves the issue? |
@russcam I've updated the package to 1.5.3 and it works like charm. Thank |
Great to hear, @Leftyx! I'll close this issue now |
@fabianrieder did you resolve your issue with Serilog with 1.5.3 of this package? I keep having the same problem, if I remove the |
Unfortunately not. i still have the same issue that exceptions aren't sent to ElasticSearch when usingn |
ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog): Elastic.CommonSchema.NLog + Elastic.Apm.NLog
ECS schema version (e.g. 1.4.0):
ECS .NET assembly version (e.g. 1.4.2): 1.5.1
Elasticsearch version (if applicable):
.NET framework / OS: .NET-Framework 4.7.2, Win 10
Description of the problem, including expected versus actual behavior:
If I log a Warning with an exception, the logentry isn't written to the file when i use the EcsLayout
Steps to reproduce:
The Output-File only has 1 logmessage written, the one with the exception is missing_
The NLOG-Logfile shows the following Error/Exception:
The text was updated successfully, but these errors were encountered: