Re: Bug#727708: Fsck SystemD and its developers and its users. GR to override this please.
On Tue, Feb 11, 2014 at 07:57:18PM +0400, vitalif@yourcmc.ru wrote:
> 2) Binary index isn't needed at all if you just want to print output
> of a service - you can just put output of each unit to its own log
> file and just tail it.
Now show everything of a particular user. Systemd allows you to do this
quickly (barring some performance bugs).
> 3) If you don't want to print only last X lines, but want to print
> full output of a service since last start - you can remember the
> previous log position in the service state structure.
Then you also need to handle logrotate.
> 4) At a first glance I don't see any _real_ index (i.e. btree)
> implementation in systemd journal, so I assume it still does
> fullscans to print logs for a service - am I correct?
You're not.
> 5) After all, I don't see why writing 1 regexp is a hard task. And
> it won't be really slower because of (4).
A regexp is unreliable and slow. Lots of ssh blocking tools have had
various security issues due to this.
--
Regards,
Olav
Reply to: