Automating Log Deletion process?
I have RHEL Machine in production server where we gets usual alerts that logs filling up spaces. We archive those logs but in case it grows maximum we delete the old ones. Any idea how can we autiomate the process.
|
Hye
configure logrotate this will solve your problem. It allows various parameters to handle how logfiles will be backuped and when they will be deleted. Take a look at /etc/logrotate.conf and /etc/logrotate.d. |
All times are GMT -5. The time now is 02:45 PM. |