Re: Multilog failing to rotate logfiles

Robert Fisher <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Otavio Exel

I think I might have found it.  At 0400 JST I run my daily cron, and I 
run logwatch so I can get a dump of the logfiles.  Well anyway, I run a 
script on the qmail log files that basically looks like it is dumping 
itself into itself.  Don't know why I didn't catch it before.  As for 
the other times, I think that is about when I get into work and I stop 
and start the qmail server to refresh the logfiles.  I have changed the 
script to use temp files, which is the way I think it is supposed ot be 
and will see the results in the morning.  I will follow up tomorrow (my 
time).  Thanks so much to Otavio Exel for helping me out with this.  I 
have learned some new techniques when working with Qmail.

Regards,
Robert Fisher
Inphase Co., Ltd.
[email protected]


Otavio Exel wrote:

>Robert Fisher wrote:
>  
>
>>Now I am positive that it said to do this in the LWQ guide to set up
>>Qmail with Daemontools.  I went back and looked at it, and I can't
>>find it anywhere there.  Will this cause my log files from not
>>rotating on their own when they get to 10 MB?
>>    
>>
>
>no. svc -a should not break the rotating;
>
>but there is something else messing whith the multilog's from cron or
>some other time based thing; the timestamps of the files that did *not*
>rotate at 13:00:00 BRT are:
>
>	2004-11-21 04:52:41.313865500
>	2004-11-21 04:52:41.313615500
>
>	2004-11-22 00:33:10.215929500
>	2004-11-23 23:59:49.379070500
>	2004-11-25 00:04:24.693561500
>	2004-11-22 00:33:10.216150500
>	2004-11-23 23:59:49.379265500
>	2004-11-25 00:04:24.722503500
>	2004-11-23 23:59:49.417103500
>	2004-11-25 00:04:24.722694500
>
>see? it looks like some time-based stuff!
>
>if they are doing something harmless like svc -a then it is ok.
>but you should try to find what it is just to be sure!
>
>[]s,
>
>  
>
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.