Skip to content

[Arista] Remove arista.log from rsyslog default logrotate #10833

Closed
bratashX wants to merge 3 commits intosonic-net:202111from
bratashX:202111_fix_logrotate
Closed

[Arista] Remove arista.log from rsyslog default logrotate #10833
bratashX wants to merge 3 commits intosonic-net:202111from
bratashX:202111_fix_logrotate

Conversation

@bratashX
Copy link
Contributor

It's cherry-pick from master branch: #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.

@bratashX bratashX requested a review from lguohan as a code owner May 13, 2022 22:02
@bratashX bratashX force-pushed the 202111_fix_logrotate branch from 60b5d41 to 499d8ef Compare May 18, 2022 20:38
@bratashX bratashX force-pushed the 202111_fix_logrotate branch from 499d8ef to 7f1fd18 Compare June 6, 2022 08:50
…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.
@bratashX
Copy link
Contributor Author

bratashX commented Jun 7, 2022

@akokhan @lguohan @prgeor @Staphylo please review and merge

@bratashX
Copy link
Contributor Author

@prsunny @lguohan @akokhan please review and merge

@bratashX
Copy link
Contributor Author

@prsunny @lguohan @akokhan please take a look

@bratashX bratashX force-pushed the 202111_fix_logrotate branch from 8a5368b to 2bde0d4 Compare July 18, 2022 14:36
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 9, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Staphylo / name: Samuel Angebault (7f1fd18)
  • ✅ login: bratashX / name: Petro Bratash (2bde0d4, f775a17)

@bratashX
Copy link
Contributor Author

bratashX commented Aug 30, 2022

@Staphylo could you please sign EasyCLA?
image

@Staphylo
Copy link
Collaborator

/easycla

@lguohan lguohan closed this Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants