Skip to content

Commit 7f1fd18

Browse files
StaphylobratashX
authored andcommitted
[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.
1 parent 339e68e commit 7f1fd18

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

files/image_config/logrotate/rsyslog.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
}
2525

2626
/var/log/auth.log
27-
/var/log/arista.log
2827
/var/log/cron.log
2928
/var/log/syslog
3029
/var/log/teamd.log

0 commit comments

Comments
 (0)