[systemd-devel] journal like cyclic buffer?

Mantas Mikulėnas grawity at gmail.com
Sun Oct 27 19:24:07 CET 2013


On Sun, Oct 27, 2013 at 7:52 PM, Warpme <warpme at o2.pl> wrote:
> Hi *
>
> Is there possibility to configure systemd journal to behave like cyclic
> buffer with given buffer size?
> Currently I see only rotation mechanism. Issue with rotation is that just
> after rotation, journal is almost empty and user don't have access to old
> log data.
> I have already many situations where interesting me log entries were
> unavailable (via journalctl) due rotated journal files.
> Thx in advance!

It is not directly possible, but you could configure the rotation to
keep many small journal files (e.g. RuntimeMaxFileSize=1M,
RuntimeMaxUse=16M).

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list