Where are cargo log messages stored?

Viewed 564

When I build a Rust project using cargo build, I get error messages in the terminal. Are these error messages stored in a log file?

1 Answers

No, but if you'd like to store them, you can use cargo build 2>./log, which redirects all errors to be written to the file ./log.

Related