2 Commits
Author SHA1 Message Date
FunToHard 7c2a4c0bf5 fix(logging): prevent startup deadlock and reentrancy in Log subsystem (#1237)
- Convert logMutex to QRecursiveMutex to prevent self-deadlock when Qt logging triggers warnings within log rotation
- Add thread-local reentrancy guard in qtMessageOutput
- Use UUID log file path in Log::Init to avoid empty filename issue with QTemporaryFile/O_TMPFILE on Linux/Flatpak
- Ensure log directory exists via QDir::mkpath
- Guard QFile::rename in Log::RotateLog against empty or nonexistent files
2026-11-12 09:19:54 +05:30
Eric Gregory 75d19da3a0 Add unit tests for logging (#1163)
Checks different types of logs, API key removal from logged strings
2026-02-26 20:46:44 -05:00