pentix / qjournalctl

A multi-platform, Qt-based frontend for systemd's journalctl command. Accepting local as well as remote (SSH) data sources.
GNU General Public License v3.0
166 stars 17 forks source link

Checkboxes for Realtime and Reverse are greyed out and don't work #75

Closed fethomm closed 3 years ago

fethomm commented 3 years ago

Like the headline says. We compiled QJournalctl from GitHub on Debian Sid and Fedora 34 and on both the checkboxes have no function at all. Besides that, we could not figure out, what 'Show bootlog' was supposed to do exactly, because it also does nothing. Did we miss something during compilation?

pentix commented 3 years ago

Hi Ferdinand

This is intentional, although I agree it might seem a bit misleading and the raison d'être of the "show bootlog" button could be clearer.

The idea is that most people open qjournalctl and just click on the "Show the current bootlog" button, to see the current log (i.e. the one of this exact system boot). This requires exactly one click and enables realtime following by default.

Another use case might be that a user wants to see system logs from previous boots. In that case, the "List all available boots" button is used, which presents all available (archived) logs. You can then select a boot from the list, reverse the output if you like and use the "show boot log" button, to get the results. Obviously, the "realtime following" is disabled, if you look at an archived log.

I hope that explains why you're looking at disabled checkboxes, it's definitely not you missing something during compilation, there are no advanced switches/flags during compile time.

[ The only reason I didn't want to list all boots by default (and make this all a lot more obvious) is that if your you've got a lot of archived logs, it takes quite a few seconds to read all the available logs, which is a terrible startup delay and feels like an eternity if you just open qjournalctl because you want to look at the current boot log... ]

I hope this helps!

fethomm commented 3 years ago

Thanks for your elaborate explanation. I'm writing an article on QJournalctl for German print magazine LinuxUser. Now things are a lot clearer. Bug report can be closed.

pentix commented 3 years ago

Oh, that's cool to hear, thanks for letting me know, I'll make sure to check it out :)

Guess I should've spent more time working on this, since there is still a "big upgrade" coming, (adding colored log table, etc.) but it's still work in progress unfortunately, the usual with all those side projects ;)

Thank you! :)

fethomm commented 3 years ago

Hi Patrick,

I saw the pull request concerning coloured output etc. and I will mention, that it will be coming at some point.

My article will be in the October issue of LinuxUser, which will hit the shelves on the 3rd. Thursday of the month.

greetings Ferdinand

Patrick Eigensatz @.***> hat am 05.09.2021 20:53 geschrieben:

Oh, that's cool to hear, thanks for letting me know, I'll make sure to check it out :) Guess I should've spent more time working on this, since there is still a "big upgrade" coming, (adding colored log table, etc.) but it's still work in progress unfortunately, the usual with all those side projects ;) Thank you! :) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/pentix/qjournalctl/issues/75#issuecomment-913206152), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ADTRA7PKGHGBPIEUC4L5MWTUAO4C7ANCNFSM5DOSZEAA). Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).

lg, Ferdinand

LinuxNews täglich frisch: https://linuxnews.de