logrotate
« Back to VersTracker
Description:
Rotates, compresses, and mails system logs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: logging system-utilities sysadmin log-management linux
Install: brew install logrotate
About:
Logrotate is a system utility designed to manage the automatic rotation, compression, and removal of log files. It prevents logs from consuming excessive disk space by enforcing retention policies. The tool supports both daily and weekly rotations and can be configured via a simple config file.
Key Features:
  • Automatic rotation and compression of log files
  • Flexible configuration via a single config file
  • Supports post-rotation scripts (e.g., sending signals to services)
  • Handles multiple log files and wildcards
Use Cases:
  • Managing system logs on Linux servers
  • Preventing disk space exhaustion from application logs
Alternatives:
  • newsyslog – BSD utility with similar functionality, often found on FreeBSD and macOS
Version History
Detected Version Rev Change Commit
Sep 14, 2025 8:21pm 0 VERSION_BUMP 50f7afdd