[yast-devel] Reusable log viewer for systemd journal
Hi, as you maybe know we have yast2-journal which is generic module to view systemd journal. But we also have many modules that allows to check logs for their domain like tftp server. In past it use LogView module that read /var/log/messages and then allow some filtering. This changed now when more and more services uses journal for logging. So I fix bug report for tftp server by making yast2-journal more reusable for viewing with specific journal query. I think it can help with other modules that allows to showing logs or that consider to start showing it to user. So example pr with change from LogView to journal is at [1]. And related blog entry to see it [2] Josef [1] https://github.com/yast/yast-tftp-server/pull/16 [2] https://github.com/yast/yast.github.io/issues/158#issuecomment-398383448 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 19.6.2018 v 14:36 Josef Reidinger napsal(a):
[1] https://github.com/yast/yast-tftp-server/pull/16 [2] https://github.com/yast/yast.github.io/issues/158#issuecomment-398383448
LGTM :) Do you have a list of other modules where this would fit? Thanks Lukas -- Lukas Ocilka, Systems Management Team Leader & YaST Product Owner SLE Department, SUSE Linux 🌲 Please consider the environment before printing this e-mail ☂ Handle with care - Your reply can be stored in the cloud -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Tue, 19 Jun 2018 14:46:50 +0200 Lukas Ocilka <lukas.ocilka@suse.com> wrote:
Dne 19.6.2018 v 14:36 Josef Reidinger napsal(a):
[1] https://github.com/yast/yast-tftp-server/pull/16 [2] https://github.com/yast/yast.github.io/issues/158#issuecomment-398383448
LGTM :)
Do you have a list of other modules where this would fit?
Thanks Lukas
I know I remove it from yast2-ntp-client, so it can be moved back. Simple grep for LogView shows shows that it is used also at - dhcp-server - http-server - slp-server In others I see only LogView widget, but not LogView module. But I believe it would fit into almost any module where we use systemd service or socket to show user service/socket related logs from place where he configure it. I think it would be especially useful when any operation with systemd failed as log contain reason. Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 06/19/2018 02:36 PM, Josef Reidinger wrote:
Hi, as you maybe know we have yast2-journal which is generic module to view systemd journal. But we also have many modules that allows to check logs for their domain like tftp server. In past it use LogView module that read /var/log/messages and then allow some filtering. This changed now when more and more services uses journal for logging.
So I fix bug report for tftp server by making yast2-journal more reusable for viewing with specific journal query. I think it can help with other modules that allows to showing logs or that consider to start showing it to user.
So example pr with change from LogView to journal is at [1]. And related blog entry to see it [2]
So I can archive the Hack Week project I created long ago to find a volunteer to implement exactly that. :-) https://hackweek.suse.com/projects/yast2-journal-as-the-new-default-yast-log... -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (3)
-
Ancor Gonzalez Sosa
-
Josef Reidinger
-
Lukas Ocilka