We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 427e74c commit 54a39cbCopy full SHA for 54a39cb
src/lib.rs
@@ -384,7 +384,7 @@ impl Builder {
384
fs::create_dir_all(bdk_data_dir.clone()).expect("Failed to create BDK data directory");
385
386
// Initialize the Logger
387
- let log_file_path = format!("{}/ldk_node.log", config.storage_dir_path);
+ let log_file_path = format!("{}/ldk_node_{}.log", config.storage_dir_path, chrono::offset::Local::now().format("%Y_%m_%d"));
388
let logger = Arc::new(FilesystemLogger::new(log_file_path, config.log_level));
389
390
// Initialize the on-chain wallet and chain access
0 commit comments