Ofono Logger

Your rating: None Average: 5 (1 vote)

Telephony troubleshooting tool for Sailfish OS. Allows to manipulate log verbosity at runtime, capture and pack the log into a tarball. The tarball can be sent to an ofono specialist for analysis. It can also solve certain connectivity problems (such as disabled mobile data switch). If such a problem is detected, the appropriate menu item shows up in the pulley menu.

Requires Sailfish OS 2.0.4 or newer (or ofono version 1.17+git27 or later).

Source code: https://github.com/monich/harbour-logger

Application versions: 
openrepos-logger-ofono-1.0.8-47.1.armv7hl.rpm145.01 KB24/01/2017 - 01:12
openrepos-logger-ofono-1.0.7-46.1.armv7hl.rpm144.5 KB12/01/2017 - 00:41
openrepos-logger-ofono-1.0.6-45.1.armv7hl.rpm143.76 KB27/10/2016 - 00:40
openrepos-logger-ofono-1.0.5-44.1.armv7hl.rpm144.04 KB25/10/2016 - 03:43
openrepos-logger-ofono-1.0.4-38.1.armv7hl.rpm110.71 KB10/10/2016 - 12:39
openrepos-logger-ofono-1.0.3-37.1.armv7hl.rpm110.58 KB09/10/2016 - 16:19
openrepos-logger-ofono-1.0.2-36.1.armv7hl.rpm110.43 KB08/09/2016 - 23:37

Version 1.0.8
- Save the state of the connmans's cellular technology
- Another tweak for disabled mobile data button

Version 1.0.7
- Don't directly invoke Qt code from glib callbacks to avoid memory leaks
- Make sure that verbose trace is enabled
- Save rilerror file

Version 1.0.6
- Save connection context configuration

Version 1.0.5
- Added "Fix mobile data" menu item
- Collect more ofono information

Version 1.0.4
- Added default email

Version 1.0.3
- Compatibility with Qt 5.6

Version 1.0.2
- Initial upload


TMavica's picture

any abnormal found in log?

slava's picture

Replied via email

TMavica's picture

I have a call bugs ever found in 2.0.2, dont know it still exsist in 2.0.4 or not, I reported to Jolla, rhe bug may exsist
. The bug is sometimes cant be dial or receive call, so which option I need enable mostly in the apps?

slava's picture

Better to enable all logs and and then send the tarball to the email pre-filled in version 1.0.4

TMavica's picture

Got the log and email sent!
 No incoming call show and cant be dial bug

slava's picture

And I have received it.

TMavica's picture

Good. Hope you can found the fault. It just happened again after reboot, afterwards few call, it happen again, but I havent run ofono log this time..

TMavica's picture

can you make a daemon run in background? i dont want to keep the cover in task

slava's picture

Probably not. I am not sure that it makes sense, not to mention that it would mean more or less a complete redesign. Such a daemon already exists - it's called systemd-journald. You can use ofono logger app to configure logging categories, then exit the app and the logs will continue to be collected by journald. Most likely, you would have to tweak /etc/systemd/journald.conf to configure journald to not drop the messages. The default setup is quite conservative, to save the space.

There's also command line dbuslog-client (not installed by default, try pkcon install dbuslog-tools or build it yourself) which can also be used to configure ofono logging, for example this:

dbuslog-client -l org.ofono

lists the ofono log categories and their current state. There are also options to enable/disable individual log categories or all of them and to pipe the log to the standard output. So the command line/demonized solution already sort of exists, the purpose of this app was to make collecting logs easy for a casual user.

TMavica's picture

where can I set font size, i cant find it

slava's picture

Run the Settings app, then select Applications -> Ofono Log

coderus's picture

Please first release 2.0.4 :D

slava's picture

That won't take long. Certainly not as long as 2.0.2