[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Compressing Log File



Hi Werner

    Thanks for your time.
    SuSE linux's system logs are messages-011231.gz etc. The current date
file is messages and messages-020102.gz.
    They are automatically created not manually compressed.
    While RH7.2 system logs are messages.1, messages.2 , messages.3.\

    I want the system logs to be like SuSE. This is not meant that SuSE is
better than RH.
    How can I do this?

   Thank you every much
Regards,

lonh
----- Original Message -----
From: "Werner Puschitz" <wp puschitz com>
To: "lonh SENG" <slonh camgsm com kh>
Cc: <enigma-list redhat com>
Sent: Monday, December 31, 2001 9:46 AM
Subject: Re: Compressing Log File


>
> On Mon, 31 Dec 2001, lonh SENG wrote:
>
> > Hi all,
> >
> > I use RH7.2. I want keep my log file (message , mail ...etc ) by
compressing
> > them day by day.
> > For instance, My mail log file is mail. I want to keep it as following:
> > mail_$date.gz
> > Can we configure syslog to do this?
>
> man logrotate
> logrotate - rotates, compresses, and mails system logs
>
> Werner
>
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]