Collect Location Services Logs
Collect Location (geoclue) Services (GNSS) Logs
GNSS = Global Navigation Satellite System
Commonly used satellites: GPS, Glonass, Galileo, Beidou.
In order to enable the location services logs follow these steps:
- Enable the Developer tools as instructed in this help article.
- Open the Terminal app on the phone (or use an SSH connection to the phone).
- In order to get the super-user rights give this command:
devel-su
- To enable the GNSS logging, Add /var/lib/environment/nemo/qtlogging.conf with the following command:
vi /var/lib/environment/nemo/qtlogging.conf
After that add this line to the file:
QT_LOGGING_RULES="geoclue.provider.*=true"
- Reboot your device (or restart the user session).
- Open some application which is using location, for example GPSinfo or some Android application.
- Attach the journal log with these commands:
devel-su journalctl -a -b > journal-geoclue.txt
After these steps you have an journal log which includes location related logs. This can be verified by opening the journal log and checking that there are lines with the phrase “geoclue-hybris”. This can be easily done with the command:
grep geoclue-hybris journal-geoclue.txt
- After logging has been done you can disable the GNSS logging in order to avoid spamming the journal:
devel-su rm /var/lib/environment/nemo/qtlogging.conf reboot