sonic-buildimage
sonic-buildimage copied to clipboard
[Logrotate] Add log rotate configuration
Why I did it
No be able to do the next things:
- Perform log rotation separately for
sysloganddebugfiles - Configure log rotation parameters like rotation frequency, file size, file rotation count
Work item tracking
- Microsoft ADO (number only):
How I did it
- Add YANG model for a new configuration
- Extend configuration templates to support new knobs
How to verify it
Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
Tested branch (Please provide the tested image version)
- [ ]
- [ ]
Description for the changelog
- Add the ability Perform log rotation separately for
sysloganddebugfiles - Configure log rotation parameters like rotation frequency, file size, file rotation count
Link to config_db schema for YANG module changes
A picture of a cute animal (it is my cat Finn)

We reviewed the code change needed, and will address it in the upcoming 2 weeks.
@dgsudharsan any further comments?
@dgsudharsan any further comments?
@liat-grozovik Left few comments.
/azpw run Azure.sonic-buidimage
/AzurePipelines run Azure.sonic-buidimage
No pipelines are associated with this pull request.
Some log rotate test was failed, will fix until Aug 30