Click to See Complete Forum and Search --> : LogRotate


SafelistSmart
07-23-2002, 11:25 AM
BACKGROUND: I am pretty savvy with working from a command line if I have the correct syntax and file locations/names to affect, but I have never issued a Linux command or performed a Linux install. My installation of Redhat 7.2 is working fine.

PROBLEM: My server generates a huge amount of logfiles that I would like to control daily. From my research, I believe that logrotate is the key here, so the box does not have to be rebooted whenever the process is run. I also believe that this process can be set to run as a cron job.

REQUEST: Can someone give me a step-by-step for how to set this up from the command line? Or. tell me how to access a Linux control panel (if applicable) that will let me do this?

Normally I would buy a book or two to learn something like this, but this adjustment is the only one I believe I will ever need to make. Thanks in advance.

mdwatts
07-23-2002, 06:11 PM
Try http://www.topology.org/linux/logrotate.html to start.

I found it with a Google for Linux search.

SafelistSmart
07-23-2002, 11:20 PM
Thanks. It's a bit rambling, but may help.