Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering

How to Tame Linux Server Logs with Logrotate


Listen Later

In this episode, Lucas and Luna dive into logrotate, the unsung hero of Linux server administration. They explore how a single misconfigured logrotate rule can silently fill a disk partition, causing outages. Using a concrete example of a web server that crashed because Apache logs grew unchecked, they explain logrotate's core directives: daily rotation, compression, delay compress, maxage, and postrotate scripts. They also cover practical pitfalls like missing sharedscripts syntax and permissions issues with log files owned by root versus service users. By the end, listeners will know exactly how to audit their existing logrotate configs and prevent disk-full disasters without manual log cleaning.

#Linux #Sysadmin #ServerAdministration #Logrotate #LogManagement #Apachelogs #NginxlLogs #DiskSpace #DevOps #Bash #ServerMaintenance #LinuxTips #Technology #FexingoBusiness #BusinessPodcast #ServerEngineering #Infrastructure #OpenSource

Keep every episode free: buymeacoffee.com/fexingo

...more
View all episodesView all episodes
Download on the App Store

Linux Server Admin with Fexingo: Sysadmin, Bash, and Server EngineeringBy Fexingo