Limiting the size of syslogd output files using options in syslog.conf

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jun 26 05:07:13 UTC 2019


--------
In message <bf597c3830ebabbef6ac422a5d648e1eed13fac5.camel at freebsd.org>, Ian Le
pore writes:
>I've posted a review of a small syslogd change which lets you set a
>limit on the size of syslogd output files in /etc/syslog.conf.  The
>idea is to prevent filling up a filesystem on emmc or sdcard or other
>small storage device on an embedded system with unexpected logging
>triggered by some error or failing hardware.

You should consider fifolog(1) in such environments.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-embedded mailing list