Unix - Log Rotation in UNIX/Linux

1. What Is Log Rotation?

Log rotation is the process of:

  • Automatically managing log files

  • Preventing logs from growing too large

  • Archiving old logs

  • Deleting logs after a certain time