[Asterisk-Users] asterisk logger - urgent!!!

Bob Goddard asterisk-list at 1.asterisk.bgcomp.co.uk
Thu Feb 9 09:47:57 MST 2006


On Thursday 09 Feb 2006 16:01, Kevin P. Fleming wrote:
> Dov Bigio wrote:
> > Any way, if any developers are reading this, I don't think that rotating
> > asterisk logs is the best way to handle this problem!
> > Maybe a more user-friendly message could be logged, infoming which file
> > reached the 2.0GB.
>
> Unfortunately when we receive SIGFSZ from the kernel, we have no way to
> know which file caused it. The assumption in Asterisk is that the only
> files we write to that will ever reach that size are log files. If any
> other file does, there will be trouble, as you have seen.

Why use fputs which give you no indication of the type of error
when the raw write does?


B

-- 
http://www.mailtrap.org.uk/



More information about the asterisk-users mailing list