--- David Nolan <[EMAIL PROTECTED]> a écrit :

> No, Mon does not currently support this format. 
> Using logrotate is
> probably an OK approach, but I suspect that you
> would need to restart
> Mon to get it to close the file and create a new
> one.  (Haven't
> confirmed that, but I don't think it re-opens the
> file every time...)

Thanks David
I can use postrotate/endscript and prerotate/endscript

to restart mon in logrotate 
Cheers

> A better answer would be to add log rotation support
> to Mon so that at
> a rotation time it doesn't lose all knowledge of
> past failures.
> 
> -David
> 
> On 9/4/06, pingouin osmolateur
> <[EMAIL PROTECTED]> wrote:
> > Hi everybody
> > Can I use this format to rotate downtime log or
> > something equal?
> > logdir = /var/log/mon%YEAR-%MONTH
> >
> > Or is there an other solucion, i know i can use
> > logorate.
> > Thnaks in advance
> > ac
> >
> >
> >
> >  p4.vert.ukl.yahoo.com uncompressed/chunked Mon
> Sep  4 16:13:33 GMT 2006
> >
> >
> >
>
___________________________________________________________________________
> > Découvrez un nouveau moyen de poser toutes vos
> questions quelque soit le sujet !
> > Yahoo! Questions/Réponses pour partager vos
> connaissances, vos opinions et vos expériences.
> > http://fr.answers.yahoo.com
> >
> > _______________________________________________
> > mon mailing list
> > mon@linux.kernel.org
> > http://linux.kernel.org/mailman/listinfo/mon
> >
> >
> 



        

        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to