Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 05:07:02 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-embedded@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: Limiting the size of syslogd output files using options in syslog.conf
Message-ID:  <30082.1561525622@critter.freebsd.dk>
In-Reply-To: <bf597c3830ebabbef6ac422a5d648e1eed13fac5.camel@freebsd.org>
References:  <bf597c3830ebabbef6ac422a5d648e1eed13fac5.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <bf597c3830ebabbef6ac422a5d648e1eed13fac5.camel@freebsd.org>, I=
an 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@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=
.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30082.1561525622>