Summary: | Wishlist: Baloo debugging | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | tagwerk19 |
Component: | general | Assignee: | baloo-bugs-null |
Status: | REPORTED --- | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 5.99.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
tagwerk19
2022-10-13 20:26:34 UTC
(In reply to tagwerk19 from comment #0) > It should be that messages also get logged (journald?) but I don't seem to be > able to enable these. Some messages are logged but the bulk appear only > on the terminal. There's something wierd here. I would expect if I have a qtlogging.ini file I could follow debug messages with journalctl -f I see a couple of messages after I run balooctl purge and that's it; the majority of the messages appear (only) on the terminal. I see that there are a number of QT environment variables that are supposed to switch logging to or from the terminal but I've not found a recipe that works... I have stumbled on a hack that *does* redirect debugging to journald but it just makes the issue more confusing: balooctl purge 2> stderr.log works in that it gives you reindexing messages in the journal, not on the screen (and not to the stderr.log file). What could be happening here? As per: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardOutput= add a StandardError=journal to the unit file. This can be done with systemctl edit --user kde-baloo.service adding [Service] StandardError=journal and saving the override. This seems to make the logging more predictable. |