Commit 44fc198
committed
Emit tracing output to stderr
Behavior of the crate differs between the log and tracing backends:
while log defaults to printing messages to stderr, tracing emits them to
stdout. Until version 0.3.19 the tracing-subscriber crate did not allow
changing this default. Pull request #3187 [0] changed that and release
0.3.20 contains this logic.
Now that we can, adjust the tracing based backend to log to stderr for
consistency.
[0] tokio-rs/tracing#31871 parent 7fc5975 commit 44fc198
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
277 | | - | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
0 commit comments