Skip to content

feat: switch to tracing ecosystem#379

Merged
TennyZhuang merged 3 commits intomainfrom
skyzh/use-tracing-ecosystem
Jan 29, 2022
Merged

feat: switch to tracing ecosystem#379
TennyZhuang merged 3 commits intomainfrom
skyzh/use-tracing-ecosystem

Conversation

@skyzh
Copy link
Member

@skyzh skyzh commented Jan 29, 2022

part of #368

Also, the default log level is changed to INFO.

By the way, it seems that EnvFilter doesn't implement Filter, and therefore we cannot use per-layer filtering implemented in tokio-rs/tracing#1523. This would lead to problems with integrating with tokio-console's Tokio-runtime tracing: if we enable tokio-runtime's tracing feature, all tokio tracing logs will be printed in stdout. We will fix this when the upstream implements Filter for EnvFilter.

skyzh added 2 commits January 29, 2022 12:07
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
@skyzh skyzh requested a review from wangrunji0408 January 29, 2022 04:40
Signed-off-by: Alex Chi <iskyzh@gmail.com>
@skyzh skyzh requested a review from TennyZhuang January 29, 2022 04:49
@TennyZhuang TennyZhuang merged commit 141a262 into main Jan 29, 2022
@TennyZhuang TennyZhuang deleted the skyzh/use-tracing-ecosystem branch January 29, 2022 04:50
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