-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Logrotate] Add logrotate feature HLD #1683
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
f6d8a33
to
af5b905
Compare
HLD is reviewed in community on 5/14/2024 |
call for reviewers, please leave your comments if you want to be a reviewer of this HLD. Thanks. |
It reads log rotate configuration from database and apply it to log rotate config files. | ||
|
||
|
||
**The log rotate config files will be used:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the default log rotation configuration?
**The log rotate config files will be used:** | ||
1. /etc/logrotate.d/rsyslog - generic log files | ||
2. /etc/logrotate.d/debug - debug log files | ||
3. /etc/logrotate.d/syslog - syslog files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioning the contents of these files would be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally, while syslog is obvious, what files fall under debug log files? What about generic log files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump on this
|
||
**User interface**: | ||
``` | ||
config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to revert back the default value
|
||
|
||
**The log rotate config files will be used:** | ||
1. /etc/logrotate.d/rsyslog - generic log files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify the content and maybe change the name for an old file
community review recording https://zoom.us/rec/share/pxggDmJPYuO2cbCd3OALS8z-rce-qXfZ_-zX6AU7s1xWyIi2oSiw8eJJ_rBU0PMW.wlH1D2euCp9OJ-vS |
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
@saiarcot895 could you review? |
we need to expedite this review. the PRs are ready for more than 3 months |
@liat-grozovik can we merge this? No further comments were provided. |
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
@saiarcot895 all comments were addressed, can I get an approval? |
2 similar comments
@saiarcot895 all comments were addressed, can I get an approval? |
@saiarcot895 all comments were addressed, can I get an approval? |
This document provides general information about log rotate implementation in SONiC
The scope of this document is to cover definition, design and implementation of SONiC log rotate feature and related CLI.