diff --git a/src/builder.rs b/src/builder.rs index 3a34a8a01..b06a1efc9 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -1236,7 +1236,7 @@ fn build_with_store_internal( fn setup_logger(config: &Config) -> Result, BuildError> { let log_dir = match &config.log_dir_path { Some(log_dir) => String::from(log_dir), - None => config.storage_dir_path.clone() + "/logs", + None => config.storage_dir_path.clone(), }; Ok(Arc::new( diff --git a/tests/integration_tests_rust.rs b/tests/integration_tests_rust.rs index 85174bec7..7c6fecd75 100644 --- a/tests/integration_tests_rust.rs +++ b/tests/integration_tests_rust.rs @@ -232,7 +232,7 @@ fn start_stop_reinit() { node.sync_wallets().unwrap(); assert_eq!(node.list_balances().spendable_onchain_balance_sats, expected_amount.to_sat()); - let log_file = format!("{}/logs/ldk_node.log", config.clone().storage_dir_path); + let log_file = format!("{}/ldk_node.log", config.clone().storage_dir_path); assert!(std::path::Path::new(&log_file).exists()); node.stop().unwrap();