On 24.02.2015 17:01, Rich Freeman wrote:

> Seems like there should be a systemd-users mailing list, actually.
> This sort of situation is completely distro-agnostic.

Yes! And systemd-devel ml is always kind of "they will laugh at me and
say ugly things!" ;-)

> You certainly could design such an application.  If you do so I'd
> consider pulling the journald logs in JSON format.  I'd also see if
> somebody actually has written a journald library/class/etc for your
> language of choice - it seems like that is the sort of thing that is
> likely to exist soon if not already.  One of the goals journald (and
> systemd) is to provide more of an API for services so that there is
> less parsing of text files and communicating via signals/etc.  I'm
> sure with appropriate permissions a process could just obtain log
> entries via dbus, and using cursors poll for new entries (or maybe
> there is a push/stream mechanism).
> 
> Really though it seems like the solution is a generic log monitor with
> rules for such things, with the monitor utilizing the JSON data from
> journald for richer metadata/efficiency/accuracy.

Well, it might be a nice challenge to do so ... sure!

The real world challenge is that I have to provide the postfix-logs for
one domain on one server (so far) for one "admin" to browse through
(without giving him ssh-access ... it's a noob ...)

No overkill paid here.

But maybe I ask on systemd-devel-ml ...

Stefan


Reply via email to