Log Rotation

Hi! I need someone to show me how to write a script to be used for log rotation on apache's access_log and error_log. My servers have many requests and the logs reach about 28 megs a day.

Anybody?

With that said I would like rotation to happen once a day.

 

 

 

 

Top