Managing Apache Log Files
Even if you set up Apache logs for a regularly scheduled rotation, space issues can still occur. You must purge older files if maintaining space is more important than preserving logs. Logs are not automatically deleted.
Set up a cron job to remove older apache logs. By default, these logs rotate, but they are not removed. Create scheduled jobs to delete logs that are <XX> days old.