mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-24 02:54:48 -05:00
Fix log file cleanup warning only printing to debug
This commit is contained in:
parent
23584914ec
commit
dd1d856bf3
|
|
@ -5,7 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
and this project somewhat adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The MAJOR version number is bumped when there are **"Breaking Changes"** in the pret projects. For more on this, see [the manual page on breaking changes](https://huderlem.github.io/porymap/manual/breaking-changes.html).
|
||||
|
||||
## [Unreleased]
|
||||
Nothing, yet.
|
||||
### Fixed
|
||||
- Fix warning not appearing when the log file exceeds maximum size.
|
||||
|
||||
## [6.1.0] - 2025-06-09
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user