Skip to content

Capturing logs

olf edited this page Jan 24, 2023 · 16 revisions

Just a rough collection in order to get started

To collect the log of all of all interactive components of Patchmanager:

devel-su journalctl -al _COMM=jolla-settings + _EXE=/usr/sbin/patchmanager + _EXE=/usr/bin/patchmanager-dialog > patchmanager.log

Source: https://openrepos.net/content/patchmanager/patchmanager-legacy
             (Original source at web.archive.org)

Note that release versions of Patchmanager suppress debugging output of the daemon. In order to turn on those messages you need to edit /var/lib/environment/patchmanager/10-dbus.conf and comment out or edit the QT_LOGGING_RULES variable. Restart the service so these changes are read by the daemon.


To check if Patchmanager's service demon has properly started:

systemctl status -al dbus-org.SfietKonstantin.patchmanager.service

Source: https://web.archive.org/web/20200922053002/https://openrepos.net/comment/25666#comment-25666


A simple search in the systemd journal for Patchmanager-related events (see first example above for a much more elaborate version):

journalctl -al -n 1000 /usr/sbin/patchmanager

Source: https://web.archive.org/web/20200922041227/https://openrepos.net/comment/25667