Add .log suffix

This commit is contained in:
Wildan M 2025-11-03 21:25:57 +07:00
parent 7524f32f71
commit 2848e960fc

View File

@ -946,7 +946,7 @@ fn run_tui_cook(
'again: loop {
let handler = handle_fetch(&recipe, &fetcher_config, &logger);
if let Some(log_path) = fetcher_config.logs_dir.as_ref() {
let log_path = log_path.join(name.as_str());
let log_path = log_path.join(format!("{}.log", name.as_str()));
fetcher_status_tx
.send(StatusUpdate::FlushLog(name.clone(), log_path))
.unwrap_or_default();