Ofono Logger

Rating: 
5
Your rating: None Average: 5 (6 votes)

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

Screenshots: 
Application versions: 
AttachmentSizeDate
File openrepos-logger-ofono-1.0.22-1.aarch64.rpm190.59 KB26/11/2022 - 03:56
File openrepos-logger-ofono-1.0.22-1.armv7hl.rpm215.91 KB26/11/2022 - 03:56
File openrepos-logger-ofono-1.0.21-1.aarch64.rpm190.26 KB01/12/2021 - 06:04
File openrepos-logger-ofono-1.0.21-1.armv7hl.rpm215.15 KB01/12/2021 - 06:04
File openrepos-logger-ofono-1.0.20-1.aarch64.rpm233.95 KB18/09/2021 - 04:43
File openrepos-logger-ofono-1.0.20-1.armv7hl.rpm216.91 KB18/09/2021 - 04:43
File openrepos-logger-ofono-1.0.19-1.aarch64.rpm233.75 KB17/09/2021 - 22:27
File openrepos-logger-ofono-1.0.19-1.armv7hl.rpm216.29 KB17/09/2021 - 22:27
File openrepos-logger-ofono-1.0.17-1.aarch64.rpm231.37 KB19/07/2021 - 01:40
File openrepos-logger-ofono-1.0.17-1.armv7hl.rpm214.31 KB19/07/2021 - 01:40
File openrepos-logger-ofono-1.0.16-64.1.armv7hl.rpm176.15 KB12/12/2020 - 18:42
File openrepos-logger-ofono-1.0.12-60.1.armv7hl.rpm160.13 KB19/06/2018 - 23:50
File openrepos-logger-ofono-1.0.11-59.1.armv7hl.rpm151.72 KB26/08/2017 - 17:28
File openrepos-logger-ofono-1.0.10-56.1.armv7hl.rpm151.15 KB20/08/2017 - 21:20
File openrepos-logger-ofono-1.0.9-54.1.armv7hl.rpm147.05 KB11/06/2017 - 20:34
File openrepos-logger-ofono-1.0.8-47.1.armv7hl.rpm145.01 KB24/01/2017 - 01:12
File openrepos-logger-ofono-1.0.7-46.1.armv7hl.rpm144.5 KB12/01/2017 - 00:41
File openrepos-logger-ofono-1.0.6-45.1.armv7hl.rpm143.76 KB27/10/2016 - 00:40
File openrepos-logger-ofono-1.0.5-44.1.armv7hl.rpm144.04 KB25/10/2016 - 03:43
File openrepos-logger-ofono-1.0.4-38.1.armv7hl.rpm110.71 KB10/10/2016 - 12:39
File openrepos-logger-ofono-1.0.3-37.1.armv7hl.rpm110.58 KB09/10/2016 - 16:19
File openrepos-logger-ofono-1.0.2-36.1.armv7hl.rpm110.43 KB08/09/2016 - 23:37
Changelog: 
  • 1.0.22 (Nov 26 2022)
    - Added French translation (@phklrz)
    - Updated Polish translation (Atlochowski)
  • 1.0.21 (Dec 1 2021)
    - Restore log level on exit
    - Fixed cover log and allow cover scaling
  • 1.0.20 (Sep 18 2021)
    - Copy log entry to clipboard on long tap
  • 1.0.19 (Sep 17 2021)
    - Opt out of sandboxing
    - Tweaked settings page
  • 1.0.17 (Jul 18 2021)
    - Chinese translation (@dashinfantry)
    - Freshened up icon
    - Disabled broken in-app sharing
    - Added 64-bit build
  • 1.0.16 (Dec 12 2020)
    - Show page header when scrolling
    - Added "Jump to bottom" button
    - Fixed email sharing with latest Sailfish OS
    - Fixed build of translations with newer Qt
  • 1.0.12 (Jun 19 2018)
    - Save Modem properties
    - Freshened up sharing menu
    - Updated Polish translations (Atlochowski)
    - Added Dutch translations
  • 1.0.11 (Aug 26 2017)
    - Run the application as nemo:privileged (for compatibility upcoming changes in ofono)
  • 1.0.10 (Aug 20 2017)
    - Filter for categories
    - Polish translation (Atlochowski)
  • 1.0.9 (Jun 10 2017)
    - Swedish translation (Åke Engelbrektson)
    - Copy /etc/hw-release to the tarball
    - Added autoEnableLogging and autoResetLogging options
    - A few minor settings page fixes
  • 1.0.8 (Jan 23 2017)
    - Save the state of the connmans's cellular technology
    - Another tweak for disabled mobile data button
  • 1.0.7 (Jan 11 2017)
    - Don't directly invoke Qt code from glib callbacks to avoid memory leaks
    - Make sure that verbose trace is enabled
    - Save rilerror file
  • 1.0.6 (Oct 25 2016)
    - Save connection context configuration
  • 1.0.5 (Oct 25 2016)
    - Added "Fix mobile data" menu item
    - Collect more ofono information
  • 1.0.4 (Oct 10 2016)
    - Added default email
  • 1.0.3 (Oct 09 2016)
    - Compatibility with Qt 5.6
  • 1.0.2 (Sep 08 2016)
    - Initial upload

Comments

Karry's picture

Hi. Can you provide aarch64 package please?

slava's picture

Done!

HrodLand's picture

Hello everybody, I am new here..... Do we have some documentation shared about this tool? I would like to know about commands and other stuffs related to it.

Thanks in advance.

slava's picture

The best documentation is the source code! There is a link to it in the description.

Alex's picture

Hey @slava,

with latest SFOS v. 2.1.1.x I am experiencing spontaneous device reboots/shutdowns at specific locations and I want to log the ofono output. But I am unable to save the log if the device shuts down spontaneously.

Is there a way to redirect the ofono output to a file via terminal or any other way to save the output? Or do I need to use dbuslog-tools for that purpose?

slava's picture

There are several ways to access the log. First, you can do "Pack and save" from the log view and then "Save to documents" from the next dialog. Alternatively, you can check the /tmp/ofono_*/*/ofono.log file which the app is writing during the capture. The file's contents is a little behind the real time logging due to buffering ("Pack and save" flushes it). Finally, there is dbuslog-client from the dbuslog-tools package. It's essentially a command line version of the logger app (try dbuslog-client -a -f org.ofono)

slava's picture

Keep in mind that dbuslog-client won't automatically reset logging options back to default when you terminate it (unlike the UI app). Leaving full logging on will unnecessarily load the system and reduce the battery life.

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