Yeah, I see this with systemd 212.

And let me clarify a little bit: this delay after showing first 10 lines is
not a result of looking up for something;
Following lines appear as soon as there is something new in the log (that
is, actually what `-f` does).
So, here is what I see:

I type `journalctl --since today -f`.
First 10 lines from today appear.
As soon as something is written to log (e.g. I simulate this by
deliberately failing a `sudo` authentication)
all the remaining lines from today (including the new ones, of course)
appear.

That's clearly a bug.


--
Кирилл Елагин


On Wed, Apr 23, 2014 at 8:05 PM, Mantas Mikulėnas <[email protected]> wrote:

> On Wed, Apr 23, 2014 at 6:12 PM, Colin Guthrie <[email protected]>
> wrote:
> > What appears to happen instead is that you get the first 10 lines from
> > the day (i.e. after midnight) and then *all* lines from today following
> > that after a small delay (likely not a deliberate delay - just whatever
> > overhead it takes to lookup and output the data)
>
> strace shows that it isn't looking up any data; it's actually waiting
> for inotify events for the --follow mode. Seems odd.
>
> --
> Mantas Mikulėnas <[email protected]>
> _______________________________________________
> systemd-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to