rpi-base/files/logrotate.conf
author Luke Hoersten <luke@hoersten.org>
Mon, 23 Mar 2026 22:22:36 -0500
changeset 249 3542951a98cb
permissions -rw-r--r--
Fixed log rotation and log2ram sizing.

# Sized to fit within log2ram's RAM disk.
# Defaults: daily, 7 rotations, compress immediately, max 50M per log.
# Worst case per log: 50M active + 7 x compressed ~ 100M

daily
su root adm
rotate 7
maxsize 50M
create
compress
include /etc/logrotate.d