On Mon, 15.07.13 12:44, Jan Synacek (jsynacek@xxxxxxxxxx) wrote: > On 07/15/2013 11:22 AM, Frank Murphy wrote: > > On Mon, 15 Jul 2013 10:44:44 +0200 > > Jaroslav Reznik <jreznik@xxxxxxxxxx> wrote: > > > >> = Proposed System Wide Change: No Default Syslog = > >> https://fedoraproject.org/wiki/Changes/NoDefaultSyslog > >> > >> Change owner(s): Lennart Poettering <lennart at poettering net>, > >> Matthew Miller <mattdm at fedoraproject org> > >> > >> No longer install a traditional syslog service by default. > >> (Specifically, remove rsyslog from the @core or @standard groups in > >> comps.) > >> > >> The systemd journal will be the default logging solution. Rsyslog, > >> Syslog-NG, and even traditional sysklogd will continue to cover use > >> cases outside of the default. > > > > Can systemd journal be picked up by logwatch?, > > or similarly be emailed on a daily basis, > > without user creating a bagful of scripts? > > > > No, logwatch works only with traditional text-based logs. There is this RFE > filed [1], but that will probably not happen as it would require a total > rewrite. It would make more sense to write a new logwatch-like utility from > scratch, that handles only the journal. It's somewhere on my todo list, but has > quite a low priority:( > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=864872 Such a change should be relatively easy. "journalctl" provides you with an output that is pretty much identical to what /var/log/messages contains. Hence, you can replace this: f = fopen("/var/log/messages", "r"); by this: f = popen("journalctl", "r"); And everything should just continue to work, the stream you read from that is pretty much identical. Using the structured journal contacts of course is also possible and desirable, but certainly more work. There are very good Python bindings for the journal, but I am not aware of any Perl bindings so far. Lennart -- Lennart Poettering - Red Hat, Inc. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel