Fix log file cleanup warning only printing to debug

This commit is contained in:
GriffinR
2025-06-16 02:18:00 -04:00
parent 23584914ec
commit dd1d856bf3
2 changed files with 4 additions and 2 deletions

View File

@@ -196,8 +196,9 @@ void logInit() {
clearLogDisplays();
});
Log::initialized = true;
if (cleanupLargeLog()) {
logWarn(QString("Previous log file %1 was cleared due to being over 20MB in size.").arg(Log::path));
}
Log::initialized = true;
}