Replies: 1 comment 2 replies
-
In this example below this sentence, you're replacing the
Do you have |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Report
Version
tracing = "0.1.35"
tracing-appender = "0.2.2"
tracing-subscriber = "0.3.14"
tracing v0.1.35
│ │ │ │ ├── tracing-attributes v0.1.22 (proc-macro)
│ │ │ │ └── tracing-core v0.1.28
│ │ │ └── tracing v0.1.35 ()
│ │ ├── tracing v0.1.35 ()
│ │ └── tracing v0.1.35 ()
│ │ └── tracing v0.1.35 ()
│ ├── tracing v0.1.35 ()
├── tracing v0.1.35 ()
├── tracing-appender v0.2.2
│ └── tracing-subscriber v0.3.14
│ ├── tracing-core v0.1.28 ()
│ └── tracing-log v0.1.3
│ └── tracing-core v0.1.28 ()
├── tracing-subscriber v0.3.14 (*)
Platform
macos 12.4 monterey
Crates
Description
In the main function:
Above works, the log successfully outputs to log file.
However, when adding an additional writer to std::io::stdout, the log will only appear in the terminal, not in the file.
When I follow the example here:
https://github.com/tokio-rs/tracing/blob/master/examples/examples/appender-multifile.rs
I get the following output:
Beta Was this translation helpful? Give feedback.
All reactions