Skip to content

Commit

Permalink
Log data directory
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Nov 11, 2024
1 parent 4b5177e commit e501984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/standalone/src/subcommands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())? {
Expand Down

0 comments on commit e501984

Please sign in to comment.