create logging path
This commit is contained in:
parent
31011a130d
commit
7a3d3103e3
@ -590,6 +590,12 @@ impl PlayoutConfig {
|
||||
.expect("Can't create playlist folder");
|
||||
}
|
||||
|
||||
if !global.logging_path.is_dir() {
|
||||
tokio::fs::create_dir_all(&global.logging_path)
|
||||
.await
|
||||
.expect("Can't create logging folder");
|
||||
}
|
||||
|
||||
let (filler_path, _, _) = norm_abs_path(&global.storage_path, &config.storage_filler)
|
||||
.expect("Can't get filler path");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user