Log Rotate

Log Rotate

Installation

  • Installed by default on many distributions

  • Used to manage log files of all installed packages, including rsyslog, default syslog log processor

Configuration

  • /etc/logrotate.conf: default config

  • /etc/logrotate.d/: folder ofr configuration of different packages

Commands

  • logrotate --version

Reference

  • https://www.digitalocean.com/community/tutorials/how-to-manage-logfiles-with-logrotate-on-ubuntu-16-04

Last updated