Skip to content

[BEAM-2732] Logging relies on statesampler state#4395

Closed
pabloem wants to merge 3 commits intoapache:masterfrom
pabloem:global-sampler-logging
Closed

[BEAM-2732] Logging relies on statesampler state#4395
pabloem wants to merge 3 commits intoapache:masterfrom
pabloem:global-sampler-logging

Conversation

@pabloem
Copy link
Member

@pabloem pabloem commented Jan 11, 2018

This PR depends on PR #4375, and PR #4387.

This PR is a backward-compatible change that allows logging to rely on statesampler state to provide the current step name.

This change should enable all clients to stop using the legacy logging to switch state across every operation, and start using statesampler for that.

This change should not have a significant performance impact, as JsonLogFormatter was already relying on a Thread local to retrieve the logging information.

@pabloem pabloem force-pushed the global-sampler-logging branch from ab83d9b to e7c258f Compare January 19, 2018 02:03
@pabloem
Copy link
Member Author

pabloem commented Jan 19, 2018

Run Python PostCommit

@pabloem pabloem closed this Jan 26, 2018
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.

2 participants