| Summary: | Debug logging and useless logging in system log by qt and plasma5 programs | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Aurelien Oudelet <ouaurelien> |
| Component: | RPM Packages | Assignee: | KDE maintainers <kde> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | geiger.david68210, unruh |
| Version: | Cauldron | Keywords: | 8beta2 |
| Target Milestone: | Mageia 8 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7TOO 24865 | ||
| Source RPM: | qtbase5-5.15.2-4.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 17523 | ||
|
Description
Aurelien Oudelet
2020-07-05 17:46:33 CEST
Thank you for the report & 'fix'. I rather think we have had another similar complaint recently, but cannot find it. Assigning to the KDE team. Assignee:
bugsquad =>
kde I don't see any other distributions who fixed this debug logging! So this can be manually fixed with your proposed fix but only for users who wants do it. CC:
(none) =>
geiger.david68210 (In reply to David GEIGER from comment #2) > I don't see any other distributions who fixed this debug logging! > > So this can be manually fixed with your proposed fix but only for users who > wants do it. I still think from the user's point of view, viewing errors like these in journald is confusing. It is useful for developers or bugtrackers but not for final users. Also, too much written data can use SSD prematurely if /var is in a SSD partition. Regards,
Aurelien Oudelet
2020-07-07 00:08:21 CEST
Whiteboard:
MGA7TOO =>
MGA7TOO 24865 24841 are related ? Reported against Plasmashell upstream: https://bugs.kde.org/show_bug.cgi?id=425051 One upstream developer agree cumbersome logging but also complains distros apply fix proposed here. I proposed this response: I agree distributions should not deactivate that logging with an ENV setting. BUT, these logging should not be output at warning level: there is any broken functionality, GUI "just works" some. Listening hard-drives (not SSD), use of Plasma produces more noises from that harddrives than other DE. These logging fills up to much datas to journal, encumbering it, degrades performance and reduces lifetime of these supports. Mounting /var/log as tmpfs workarounds lifetime but it not a viable solution for end-users. This is an upstream bug, not in Mageia RPM. Suggestion: There is a KCM panel "User Feedback" in Systemsetting. These debug or notice level logs should be activated by a checkbox in this KCM Systemsettings. Some awesome developer should place this checkbox there or he should make a solution by disabling all such logging if user deactivates all feedback. Seems David Edmundson from KDE developers propose fix here in master git: https://invent.kde.org/plasma/plasma-workspace/commit/5aebd1a8c122a30f950582832ab3d6cf1bc978f7 I don't know when it will be release against 5.19.5 or 5.20 version of Plasmashell. Keywords:
(none) =>
UPSTREAM
Aurelien Oudelet
2020-10-29 16:13:22 CET
Blocks:
(none) =>
17523 *** Bug 27054 has been marked as a duplicate of this bug. *** (In reply to David GEIGER from comment #2) > I don't see any other distributions who fixed this debug logging! > > So this can be manually fixed with your proposed fix but only for users who > wants do it. I agree with David Geiger we can't disable all QT logging facility by setting "QT_LOGGING_RULES='*=false'" >> /etc/environment This is like crushing ants with a steamroller. We should implement an easy fix: For these 2 unnecessary logging facility, 1) for QML onFoo errors: This will disappears when minimum QT version for Plasma App will be QT 5.15.x instead of QT 5.12.x. implementation/fix in meantime: add "qt.qml.connections.warning=false" to /etc/xdg/QtProject/qtlogging.ini 2) for qt.qpa.xcb errors: No real fix upstream. This is "normal" but completely annoying and will disappears when Plasma will be totally on Wayland server... fix: add "qt.qpa.xcb.warning=false" to /etc/xdg/QtProject/qtlogging.ini This should be implemented ASAP to help find real bugs when Bugsquad requests system log file. Also, this really reduces the amount of unnecessary logging to system log, so preserves disk space. $ urpmf -f /etc/xdg/QtProject qtbase5-common-5.15.2-4.mga8.x86_64:/etc/xdg/QtProject $ urpmq -i qtbase5-common qtbase5-5.15.2-4.mga8.src.rpm Updating SRPM
Aurelien Oudelet
2020-12-30 16:52:38 CET
Keywords:
UPSTREAM =>
8beta2 Implemented and fixed by Nicolas Lécureuil. Many thanks. Closing this. Encourage Mageia 7 users to migrate to 8 when possible. Can't land in Mageia 7 as it needs some patchs in QT. Resolution:
(none) =>
FIXED |