Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

sc-tracing: Only print events for whitelisted targets #14487

Merged
merged 3 commits into from
Jul 3, 2023

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Jul 1, 2023

We should only print events for whitelisted targets, otherwise we may run into some stack overflow while printing the event.

We should only print events for whitelisted targets, otherwise we may run into some stack overflow
while printing the event.
@bkchr bkchr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jul 1, 2023
@bkchr bkchr requested a review from a team July 1, 2023 22:47
@bkchr bkchr requested a review from koute as a code owner July 1, 2023 22:47
client/tracing/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Koute <koute@users.noreply.github.com>
@bkchr
Copy link
Member Author

bkchr commented Jul 3, 2023

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Merge cancelled due to error. Error: Statuses failed for 8e983f4

@bkchr
Copy link
Member Author

bkchr commented Jul 3, 2023

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit 26692ff into master Jul 3, 2023
3 checks passed
@paritytech-processbot paritytech-processbot bot deleted the bkchr-tracing-check-for-allow-targets branch July 3, 2023 09:47
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
* sc-tracing: Only print events for whitelisted targets

We should only print events for whitelisted targets, otherwise we may run into some stack overflow
while printing the event.

* Update client/tracing/src/lib.rs

Co-authored-by: Koute <koute@users.noreply.github.com>

* Fix

---------

Co-authored-by: Koute <koute@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants