Hi,

Why XMail are not rotating the logs at 00:00h by default?

Before my log names had always names like pop3-200309280000,
smtp-200310100000, ctrl-200310160000, smail-200310020000

Now I have smtp-200310182200, smtp-200310192300, ctrl-200310182200,
ctrl-200310192300, etc.

I need to have this always 0000.

Davide? :-)

Thanks.

On Fri, 31 Oct 2003, Rob Arends wrote:

> 
> That wont do what you want.  -Mr says rotate logs every n hours.
> 
> So -Mr 24 is more likely, but when does that start.  The first hour change
> (xx:00) or 24 hours after xmail starts?  Davide?
> 
> Rob :-)
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Vitor Renato Alves de
> > Brito
> > Sent: Thursday, October 30, 2003 11:46 PM
> > To: [EMAIL PROTECTED]
> > Subject: [xmail] Re: [ANNOUNCE] xmailgraph
> >
> >
> >
> > Hi,
> >
> > Can someone explain why XMail are rotating the logs at 23:00h by default?
> >
> > Now to rotate the logs at 00:00h I need to put the option -Mr 0000 to call
> > XMail or -Mr 2400?
> >
> > Can someone explain?
> >
> > Thanks.
> >
> > On 30 Oct 2003, Achim Schmidt wrote:
> >
> > >
> > > Am Don, 2003-10-30 um 01.08 schrieb Rob Arends:
> > > > Achim, first I must say, it looks very good.
> > > >
> > > > This extract from your Install.txt worries me.
> > > >
> > > > ! Also the logfiles must have the current date in its name (e.g.
> > > > pop3-200310250000),
> > > > ! (If your logs are rotated at 2300 you will have to create
> > symlinks, like
> > > > ! pop3-200310250000 linked to pop3-200310242300.)
> > > >
> > > > What happens if "-Mr 01" (Set log rotate hours step) is used,
> > this will mean
> > > > that not all the logs will be read by RDDtool.
> > > >
> > > > I would suggest that files smtp-*, pop3-*, etc are read, that way the
> > > > problem of 2300 rotations are also resolved.
> > > >
> > >
> > > currently the last 4 digits of the logs name are ignored (e.g.
> > > pop3-20031030*) - but greping all logfiles is a cool idea (i really
> > > didn't think about that yet) - it only brings along a little overhead.
> > >
> > > i just tried
> > > $ grep "2003-10-30 01:0" /var/MailRoot/logs/smtp-* | wc
> > >
> > > this simply lasted for about 20 seconds, because i have logfiles since
> > > 2001 sitting in the directory...
> > >
> > > So I'll give a try for logs-YYYY*
> > >
> > > Rob, Thanks for the idea!
> > >
> > > - Achim
> > >
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe xmail" in
> > > the body of a message to [EMAIL PROTECTED]
> > > For general help: send the line "help" in the body of a message to
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > ---
> > > Esta mensagem foi verificada pelo e-mail protegido Arte Final
> > > Antivírus: F-Prot / Versão: 4.1.1 / Atualizado em: 28-Out-2003
> > > Proteja o seu e-mail com a Arte Final - http://www.artefinal.com.br
> > >
> >
> > Até mais,
> >
> > ---
> > Vitor Renato Alves de Brito - System Manager
> > Arte Final Provedor Internet - http://www.artefinal.com.br
> > Alfenas/Lavras - Sul de Minas Gerais
> >
> >
> >
> >
> > ---
> > Esta mensagem foi verificada pelo e-mail protegido Arte Final
> > Antivírus: F-Prot / Versão: 4.1.1 / Atualizado em: 28-Out-2003
> > Proteja o seu e-mail com a Arte Final - http://www.artefinal.com.br
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe xmail" in
> > the body of a message to [EMAIL PROTECTED]
> > For general help: send the line "help" in the body of a message to
> > [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 
> 
> 
> 
> ---
> Esta mensagem foi verificada pelo e-mail protegido Arte Final
> Antivírus: F-Prot / Versão: 4.1.1 / Atualizado em: 28-Out-2003
> Proteja o seu e-mail com a Arte Final - http://www.artefinal.com.br
> 

Até mais,

---
Vitor Renato Alves de Brito - System Manager
Arte Final Provedor Internet - http://www.artefinal.com.br
Alfenas/Lavras - Sul de Minas Gerais




---
Esta mensagem foi verificada pelo e-mail protegido Arte Final
Antivírus: F-Prot / Versão: 4.1.1 / Atualizado em: 28-Out-2003
Proteja o seu e-mail com a Arte Final - http://www.artefinal.com.br

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to