Logrotate is a system utility that manages the automatic rotation and compression of log files. If log files were not rotated, compressed, and periodically pruned, they would eventually consume all available disk space on a system. In this article, we will explore the default Logrotate configuration, then configure log rotation for a fictional custom application.
How To Manage Logfiles with Logrotate on Ubuntu 22.04
How To Manage Logfiles with Logrotate on Ubuntu 20.04
How To Manage Logfiles with Logrotate on Ubuntu 16.04