cvs commit: src/usr.sbin/syslogd syslogd.c

Christian S.J. Peron csjp at
Fri Mar 31 16:51:27 UTC 2006

Robert Watson wrote:

> On Fri, 31 Mar 2006, Christian S.J. Peron wrote:
>> Although I agree this is a good idea, I think it would be more 
>> appropriate to place these kinds of checks in newsyslog(8) so that 
>> other programs logging can take advantage of this.
> The program generating the log message is presumably the one that has 
> to decide not to generate it if space is low.  Log messages currently 
> come from syslogd.  Are you actually suggesting that syslogd should 
> read the newsylogd.conf file to find settings?
> Robert N M Watson
No not necessarily,

Just that perhaps we should add a "This log file can only consume %X of 
the file system is resides on" and rotate the files possibly? I have not 
given it a great deal of thought as of yet. In any case, I am open to 
suggestions for this problem. I agree the feedback loop is not desirable.

I do know however that issues like mail spools temporarily filling up 
the file systems resulting in syslogd stop working is problematic.

Christian S.J. Peron
csjp at FreeBSD.ORG
FreeBSD Committer
FreeBSD Security Team

More information about the cvs-src mailing list