Log rotate for centralize rsyslog server

Issues related to applications and software problems and general support
Post Reply
z_haseeb
Posts: 95
Joined: 2009/12/31 07:58:30

Log rotate for centralize rsyslog server

Post by z_haseeb » 2019/12/31 13:09:51

A centralized Rsyslog server is configured and working fine. Under /var/log path, every machine has its own separate folder for log keeping. For example /var/log/node1, /var/log/node2 and so on. I want every node under /var/log path keep last 6 months logs only.

pwd
Posts: 61
Joined: 2014/12/23 11:54:42

Re: Log rotate for centralize rsyslog server

Post by pwd » 2019/12/31 16:06:11

check option rotate in

Code: Select all

/etc/logrotate.conf
"God, root, what is difference?"

Post Reply

Return to “CentOS 8 - General Support”