tags:

views:

57

answers:

1

error_log files in /var/log/httpd/ are consuming a lot of disk space.

There are error_log.1, error_log.2 files as well. I will like to delete the old files automatically and keep only the current one.

+4  A: 

You might want to investigate logrotate.

JB
In this case, it seems as though the logs are already being rotated -- they should investigate what their current log rotation strategy is, and modify it.
ephemient