Merge branch 'dev' into next

This commit is contained in:
FabianLars
2023-02-15 15:49:39 +01:00
38 changed files with 694 additions and 578 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ fn get_log_file_path(
rotation_strategy: &RotationStrategy,
max_file_size: u128,
) -> plugin::Result<PathBuf> {
let path = dir.as_ref().join(format!("{}.log", app_name));
let path = dir.as_ref().join(format!("{app_name}.log"));
if path.exists() {
let log_size = File::open(&path)?.metadata()?.len() as u128;