GUI Log File Viewer
Are there any plans to release GUI Log File Viewer that can be accessed from the app folder?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Are there any plans to release GUI Log File Viewer that can be accessed from the app folder?
Started development of GUI for viewing systemd logs: https://openrepos.net/content/coderus/journal-viewer
This time, as an answer:
There is already the underlying functionality (the hard one) implemented in the upstream projects. All system information should be available via systemd's journal, and user applications can optionally log to the journal too if they choose so, or if they print to stdout/stderr and the output is not discarded.
Systemd, in addition, provides since version 193 systemd-journal-gatewayd, a micro web server to send the logs through HTTP in different formats. Also, Qt 5.3 will have native support for the journal, so each qDebug call logs to the journal without the application developer having to implement a custom message handler (that was done by Robin Burchell, a Jolla Sailor).
So is basically a matter of time. As of today, Sailfish OS has systemd 187 and Qt 5.1 (5.3 is not even beta). A version with recent systemd is likely soon (208 seems to be in mer-packages), but I don't see that service enabled (requires libmicrohttpd). Even though, is doubtful that Jolla would ship that package as enabled by default, since it would expose all the logs through plain HTTP. That service would be cool to be able to browse all sorts of useful information from your PC, but is not necessary if you just want to use a local application. The user nemo will be able to see user generated messages. An app to show that would be perfectly possible, and not hard. I did a small test, and is not hard to read the JSON export message format with Qt classes.
Cluttttttttttttttttttttttttttttttttttttttttttttttttttttteeeeeeeeeeeeeeeeeeeeeer.
Sorry, couldnt resist. ssh + journalctl not enough?
tortoisedoc ( 2017-01-11 15:27:53 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-03-07 20:53:14 +0200
Seen: 1,337 times
Last updated: Jan 11 '17
PBAP bluetooth profile support is requested [released]
My Jolla does not recognise any micro sd card. What I can do? [answered]
Add skype integration to sailfish os
Add DBus interface to stock music player [released]
[How-To] WPA-802.1X (enterprise), eduroam +[Others] GUI wifi support needed + workaround [released]
Allow for multiple notification destinations
Prevent accidental shutdown [answered]
Android applications should not be grouped in the same window [released]
What do you mean by the "app folder"? And what kind of jogs you mean? The phone uses systemd's journal, so there are many ways to get the logs outside the phone. The systemd package contains a simple gateway that is able to export the format, and provides a simple web interface so you can check the logs.
Is that what you meant?
suy ( 2014-03-07 21:08:04 +0200 )editI guess @m2 means the app launcher as in: An app to view journal logs. I think the android equivalent is called catlog?
Tanghus ( 2014-03-07 21:58:13 +0200 )editI was just thinking about this today - if it could show the live log (like the command-line utility logcat does on Android) it would be very convenient to debug issues and generally see how your Jolla reacts to outside events.
Also as we have Journald on Sailfish, it would be possible the include in the graphical tool the functionality it provides, like showing log output per application, per severity, since last long, etc.
And if it was possible to easily copy/paste individual messages or generally share them (pastebin, email, IM) it would make log based debugging super convenient.
MartinK ( 2014-03-07 22:22:44 +0200 )edit