From e50198483aed7c599f05488f4de6011a7380de80 Mon Sep 17 00:00:00 2001 From: Noa Date: Fri, 8 Nov 2024 12:50:20 -0600 Subject: [PATCH] Log data directory --- Cargo.lock | 2 +- crates/standalone/src/subcommands/start.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9f49bcabd44..f10110bea85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5247,7 +5247,7 @@ dependencies = [ [[package]] name = "spacetimedb-paths" -version = "1.0.0-rc1" +version = "1.0.0-rc2" dependencies = [ "anyhow", "chrono", diff --git a/crates/standalone/src/subcommands/start.rs b/crates/standalone/src/subcommands/start.rs index d110d091546..7c0566e353c 100644 --- a/crates/standalone/src/subcommands/start.rs +++ b/crates/standalone/src/subcommands/start.rs @@ -145,6 +145,7 @@ pub async fn exec(paths: Option<&SpacetimePaths>, args: &ArgMatches) -> anyhow:: let exe_name = exe_name.file_name().unwrap().to_str().unwrap(); println!("{} version: {}", exe_name, env!("CARGO_PKG_VERSION")); println!("{} path: {}", exe_name, std::env::current_exe()?.display()); + println!("database running in data directory {}", data_dir.display()); let config_path = data_dir.config_toml(); let config = match ConfigFile::read(&data_dir.config_toml())? {