maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] GUI for viewing systemd logs (https://talk.maemo.org/showthread.php?t=98722)

coderus 2017-01-11 10:44

GUI for viewing systemd logs
 
1 Attachment(s)
Hello, i started developing applicatoin for viewing systemd logs.

Can be downloaded here: https://openrepos.net/content/coderus/journal-viewer

Sources: https://github.com/CODeRUS/systemd-journal-viewer

Post your ideas about improving application.

Feathers McGraw 2017-01-11 12:52

Re: GUI for viewing systemd logs
 
This is great, thank you! It crossed my mind in the past that we were missing an app like this.

How may apps have you written now? Seriously, I don't know where you find the time. Really appreciate it.

Ability to filter the model by unit and copy/paste individual messages would be useful, as well as retrieving journal entries that were written before the app opened (if that's possible).

Out of curiosity, how does the app work? Does it listen for messages as they are written to the journal via dbus or something like that? Or does the app use root privileges to read the journal?

coderus 2017-01-11 13:42

Re: GUI for viewing systemd logs
 
App is running daemon under root connecting to systemd-journal and waiting for messages, then sending it via dbus to GUI. Yes i can add any filters for messages. Will try to add some universal options.

TMavica 2017-01-11 14:41

Re: GUI for viewing systemd logs
 
Nice icons will be more perfect

MikeHG 2017-01-11 14:46

Re: GUI for viewing systemd logs
 
I presume you know about this, but just in case you don't, might be useful to borrow ideas / code from:

https://github.com/KDE/systemd-kcm

coderus 2017-01-11 14:46

Re: GUI for viewing systemd logs
 
Of course, i am waiting for someone to draw icons for this application! :)

coderus 2017-01-11 15:15

Re: GUI for viewing systemd logs
 
Quote:

Originally Posted by MikeHG (Post 1521786)
I presume you know about this, but just in case you don't, might be useful to borrow ideas / code from:

https://github.com/KDE/systemd-kcm

spent hour for building and installing ... but there is no journal functionality :D

MikeHG 2017-01-11 15:21

Re: GUI for viewing systemd logs
 
Sorry :D

But still, you (or they) might find some 'scope creep' happening eventually, perhaps?

coderus 2017-01-16 14:09

Re: GUI for viewing systemd logs
 
Updateee v0.2.0
Features:
- Saving log to selected location
- Options to load last N log messages or all messages since specific timestamp
- Options to add journal match filters
- Copy single messages with longtap menu

coderus 2017-01-17 17:23

Re: GUI for viewing systemd logs
 
Update is on air and ready for translations: https://www.transifex.com/coderus/jo...wer/dashboard/


All times are GMT. The time now is 13:05.

vBulletin® Version 3.8.8