On Thu, Mar 15, 2001 at 11:05:08AM -0500, Mike Illian a ecrit:
>
> Is there a command in that will let me roatate my syslogs on a regular
> basis?  

Logrotate will do this (and should on a RedHat box unless you've
touched something).
It also allows you to compress the file, keeps the old files a certain
amount of time, do the rotation according by time or size, and
generally gives you more options than you'll ever need.

`man logrotate` will tell you all you need to know and a lot more besides.

> Or do I need to create a cron job that will stop syslog, rename my log file,
> and then start syslog back up?

You do *not* want to do this.
Trust me on this one.

Emmanuel Seyman



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to