Log Management

logrotate

English

Overview

A mechanism for periodically rotating, compressing, and deleting log files.

Details

A mechanism that automatically rotates, compresses, and deletes log files based on size or age, preventing disk bloat. Its configuration is usually split into per-service files under /etc/logrotate.d/, and it's run periodically via cron or a systemd timer.

More Linux terms