Re: Bringing Mobian closer to Debian
Le 09/09/2021 à 15:02, Federico Ceratto a écrit :
> We definitely want to keep
> storing some amount of history though, these logs can often be helpful
> for debugging/troubleshooting at the very least.
>
>
> Smartphones are not rebooted very often and writing often to eMMC/SD
> causes wear.
> I'd recommend logging only to memory as a safe default.
> Developers can change configuration if needed.
journald has the `SyncIntervalSec`[1] option which limits disk writes.
The default is 5 minutes, and could be increased if needed, but that
seems a relatively safe default, even for eMMC/SD storage.
Cheers,
Arnaud
[1]
https://www.freedesktop.org/software/systemd/man/journald.conf.html#SyncIntervalSec=
>
> Bye,
> --
> Federico
Reply to: