RE: Steps to save up space on your Hive Engine witness server

avatar

You are viewing a single comment's thread:

Logrotate usually deletes old log files? Or am I missing something?



0
0
0.000
3 comments
avatar

Logrotate will keep rotating the logs and not let the size of the log file grow. Old log files might need manual deletion.

0
0
0.000
avatar

You might find this worth a read through.
https://docs.rackspace.com/support/how-to/understanding-logrotate-utility

Rotate count The rotate command determines how many archived logs are returned before logrotate starts deleting the older ones. For example:

rotate 4
This command tells logrotate to keep four archived logs at a time. If four archived logs exist when the log is rotated again, the oldest one is deleted to make room for the new archive.

0
0
0.000