Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Have Zed cli output logs path to stderr (#22509)

Michael Sloane9bd4b2890d7
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index 3dbfa0e737a..1e48a16c07a 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -257,6 +257,7 @@ fn main() -> Result<()> {
if args.foreground {
app.run_foreground(url)?;
} else {
+ eprintln!("Logs are written to {:?}", paths::log_file());
app.launch(url)?;
sender.join().unwrap()?;
pipe_handle.join().unwrap()?;