Re: Multilog failing to rotate logfiles

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <20041214111409.25209.qmail@f390c9873b5b93.315fe32.mid.smarden.org>
On Fri, Nov 26, 2004 at 05:18:29PM -0900, Robert Fisher wrote:
> local time.  I was concatinating the contents after the convert back 
> into the log files.    and I am assuming that it did it a few times (a 
> loop maybe) which would explain the ballooning of my log files.  What I 
> can't understand is why Multilog wouldn't rotate the files out after 
> 10MB.

multilog monitors the size of current by checking the size on startup,
and then counting all bytes itself writes to current.  If the initial
size plus bytes written by the multilog process come near the maximum,
current is rotated.

If there's another process writing to current while multilog is running,
multilog won't recognize the bytes written by this process, and the size
of current can increase beyond the specified maximum.

Regards, Gerrit.
-- 
Open projects at http://smarden.org/pape/.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.