repair and simplify sync log collection page.#375
repair and simplify sync log collection page.#375dryo wants to merge 2 commits intosailfishos:masterfrom
Conversation
|
See https://forum.sailfishos.org/t/ist-the-documentation-for-getting-caldav-carddav-sync-logs-faulty/16220 why the |
Thaodan
left a comment
There was a problem hiding this comment.
Why the changes in the name of the headings?
Thaodan
left a comment
There was a problem hiding this comment.
In general I agree with the changes but there is a better way to do this.
systemctl --user edit msyncd- Paste this into the opened editor:
[Service]
Environment=QTCONTACTS_SQLITE_TRACE=1
Environment=MSYNCD_LOGGING_LEVEL=8
Environment=QTCONTACTS_SQLITE_TWCSA_TRACE=1
- systemctl --user restart msyncd
- journalctl --user --boot --unit msyncd.service
- If the --user filter doesn't work try /usr/bin/msyncd instead of --user ---unit msyncd.service
To revert remove rm ~/.config/systemd/user/msyncd.service.d/override.conf
Doing so will ensure that the logfile will only contain output from the msyncd service.
In general calling journalctl to log something from the user session without filters is bad as it contains to much irrelevant information.
|
See this post why to prefer 'tee' to 'cat'. |
jovirkku
left a comment
There was a problem hiding this comment.
The proposed changes make sense and look good to me.
I'm not sure if
teeis included in a standard installation, though.