Log rotation in CentOS Linux

CentOSLots of daemons running in CentOS Linux create their own log files. These log files contain helpful messages pertaining to the operation of those daemons. For example error messages that help in diagnosing problems with the system. Over time these log files have to be rotated so that they are easier to manage. Log rotation is the process of splitting large log files and archiving old log files for future reference. In CentOS a program called logrotate is responsible for rotating log files. In this post I look at how to customize the operation of logrotate.

Continue reading