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
Comments
Karry
Sun, 2021/07/11 - 14:53
Permalink
Hi. Can you provide aarch64 package please?
slava
Mon, 2021/07/19 - 01:40
Permalink
Done!
HrodLand
Mon, 2017/12/04 - 07:09
Permalink
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
Tue, 2018/02/06 - 11:39
Permalink
The best documentation is the source code! There is a link to it in the description.
Alex
Sat, 2017/08/26 - 13:30
Permalink
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
Sat, 2017/08/26 - 17:51
Permalink
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 isdbuslog-client
from thedbuslog-tools
package. It's essentially a command line version of the logger app (trydbuslog-client -a -f org.ofono
)slava
Sat, 2017/08/26 - 17:55
Permalink
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
Wed, 2016/10/12 - 13:49
Permalink
any abnormal found in log?
slava
Wed, 2016/10/12 - 16:49
Permalink
Replied via email
TMavica
Sun, 2016/10/09 - 12:05
Permalink
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
Mon, 2016/10/10 - 12:42
Permalink
Better to enable all logs and and then send the tarball to the email pre-filled in version 1.0.4
TMavica
Tue, 2016/10/11 - 13:04
Permalink
Got the log and email sent!
No incoming call show and cant be dial bug
slava
Tue, 2016/10/11 - 13:14
Permalink
And I have received it.
TMavica
Tue, 2016/10/11 - 14:16
Permalink
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
Sat, 2016/10/08 - 04:18
Permalink
can you make a daemon run in background? i dont want to keep the cover in task
slava
Sat, 2016/10/08 - 12:25
Permalink
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, trypkcon install dbuslog-tools
or build it yourself) which can also be used to configure ofono logging, for example this: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
Wed, 2016/10/05 - 19:29
Permalink
where can I set font size, i cant find it
slava
Wed, 2016/10/05 - 19:56
Permalink
Run the Settings app, then select Applications -> Ofono Log
coderus
Fri, 2016/09/09 - 06:20
Permalink
Please first release 2.0.4 :D
slava
Fri, 2016/09/09 - 10:50
Permalink
That won't take long. Certainly not as long as 2.0.2