Silence sysstat-collect.service?

1k Views Asked by At

The sar tool collects load values every 10 minutes on my CentOS Linux release 8.5.2111 via the service sysstat-collect.service. It fills /var/log/messages with:

Dec 26 12:50:04 node systemd[1]: Starting system activity accounting tool...
Dec 26 12:50:04 node systemd[1]: sysstat-collect.service: Succeeded.
Dec 26 12:50:04 node systemd[1]: Started system activity accounting tool

Every 10 minutes. That's annoying, I want to silence it. Is it possible??

Thanks in advance

1

There are 1 best solutions below

3
Ido H Levi On

You can use logrotate to select what logs you want to keep or delete