Image

Imagejackal wrote in Imagelinux

sar's logs

What rotates sar's logs? I want to collect more than 9 days of sar logs.

I'm only getting 9 days of logs and I can't find anything in log rotate that handles sar logs, so what's rotating sar's logs? (This is RedHat 8.0).

# ls /var/log/sa/sar* |wc -l
      9

# grep sar /etc/logrotate.conf 

# grep sar /etc/logrotate.d/*  

#