Re: making journald logs persistent on raspberry pi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 24.01.20 15:32, Dave Howorth (systemd@xxxxxxxxxxxxxx) wrote:

> It's quite common on the Raspberry Pi to make /var/log a tmpfs, in
> order to reduce the number of writes to the SD card that is the pi's
> main storage. That's quite acceptable for most logs but I'd like to
> make journald's logs persistent so I'll be able to investigate any
> problems that occur whilst booting or shutting down more easily.

Hmm, if you want volatile logging, use /run/log/...

It sounds strange to me, first making /var/log/... volatile, which is
kinda where the stuff goes that is supposed to be persistent and then
tryng to exclude stuff there again...

i.e. journald's Storage= setting most just allows you to choose
between /var/log/… and /run/log/… as data store.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux