cvs commit: src/usr.sbin/syslogd syslogd.c
Christian S.J. Peron
csjp at FreeBSD.org
Fri Mar 31 16:54:09 UTC 2006
Christian S.J. Peron wrote:
> 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.
Actually, forget what I just said here, as it's not always syslogd
filling the filesystems up. I just realized that it doesn't actually
solve our problems :)
--
Christian S.J. Peron
csjp at FreeBSD.ORG
FreeBSD Committer
FreeBSD Security Team
More information about the cvs-src
mailing list