sonic-buildimage/files/image_config/logrotate
Samuel Angebault 8d419ca2c5
[Arista] Remove arista.log from rsyslog default logrotate (#9731)
Why I did it
In parallel of this change Arista added a custom logrotate configuration as part of its driver library.
Having 2 logrotate configuration for the same log file triggers an issue.

Fixes aristanetworks/sonic#38

How I did it
Arista merged a few changes in sonic-buildimage which added a logrotate configuration aristanetworks/sonic@e43c797
It is therefore the right path to remove the arista.log line from the logrotate.d/rsyslog configuration.

How to verify it
Logrotate works without any error message, arista log rotation happens and arista daemons still append logs once file was truncated.
2022-03-11 08:09:07 -08:00
..
logrotate.d [rsyslog]Setting log file size to 16Mb (#9504) 2022-01-14 10:24:07 -08:00
logrotate-config.service [rsyslog]Setting log file size to 16Mb (#9504) 2022-01-14 10:24:07 -08:00
logrotate-config.sh [rsyslog]Setting log file size to 16Mb (#9504) 2022-01-14 10:24:07 -08:00
logrotate.conf [System logs]: Improvements to prevent filling /var/log partition (#865) 2017-08-10 16:24:57 -07:00
rsyslog.j2 [Arista] Remove arista.log from rsyslog default logrotate (#9731) 2022-03-11 08:09:07 -08:00