Skip to content
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

Skip ActivityData capture for NLog, since doing Layout capture #379

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Apr 20, 2024

When enabling writing on background-thread, then one should not capture the activity-traceid of the background-thread.

I guess Serilog has the same issue, since it relies on its enricher-capture (similar to NLog layout capture)

This is ofcourse a breaking change, since adding new property to existing interface IEcsDocumentCreationOptions. Maybe change to use enum-flag-values?

Alternative only perform automatic capture for Elastic.Extensions.Logging? (Skip helping NLog / Serilog / Log4net)

@snakefoot snakefoot force-pushed the net6 branch 2 times, most recently from cf1fd62 to 084a6c3 Compare May 4, 2024 15:06
@snakefoot snakefoot force-pushed the net6 branch 2 times, most recently from 439efad to f48620b Compare May 11, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant