MultiMC spamming system logs
Operating System
Linux
Description of bug
The system logs are spammed with W QCoreApplication::postEvent: Unexpected null receiver. I believe this happens when files are downloaded.
Steps to reproduce
- Launch MultiMC
- Launch a game
- After the game gets to the main menu, close the game.
- run
journalctl -b --no-pagerin a terminal and observe the log entries.
Log Entries:
The bigger the modpack that is launched, the more log spam there appears to be.
Suspected cause
No response
This issue is unique
- [X] I have searched the issue tracker and did not find an issue describing my bug.
I've found that MultiMC uses Qt logging facilities, which can be configured at runtime: https://stackoverflow.com/a/39627492/4704639
For me personally the majority of log entries were debug messages, these can be hidden by setting QT_LOGGING_RULES=*.debug=false for the process.
Either your DE offers a GUI for this (KDE does), or you can manually edit your multimc.desktop,
changing Exec=<multimc.sh> to
Exec=env 'QT_LOGGING_RULES=*.debug=false' <multimc.sh>.
This should perhaps be the default in the .desktop file.
The warnings you get might have a distinct message category such that you can filter them out with <category>.warning=false without disabling warnings as a whole. You can find that out by modifying the message pattern to include that information: QT_MESSAGE_PATTERN="%{time process} %{category} %{type} %{function}: %{message}"