← Back to tools

logrotate

Rotate, compress, and mail system logs

Description

logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files on a configurable schedule.

AI Summary

Log file rotation utility for automatic compression, removal, and mailing of system logs

Capabilities

  • + Automatically rotate log files
  • + Compress old log files
  • + Remove old logs on schedule
  • + Mail log files to administrators
  • + Configurable rotation policies

Use When

  • When managing log file rotation on Linux systems
View AGENTS.md for logrotate