forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[generate_dump] system dump improvements (sonic-net#503)
* [techsupport] add option to collect logs since given date Allow user to dump logs newer some specific date to reduce dump archive size e.g: admin@sonic:~$ show techsupport --since=yesterday Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] add specific error codes Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] exclude mellanox folders in /etc/ Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] disable logrotate during log collection Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] add +w for procfs dump files Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] SINCE_DATE is epoch by default Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] change find_logs to find_files Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] add mstdump Signed-off-by: Stepan Blyschak <[email protected]> * [generate_dump] fix noop mode when generating sai/sdk/fw dump Signed-off-by: Stepan Blyschak <[email protected]>
- Loading branch information
1 parent
eb63da8
commit e6d7f52
Showing
2 changed files
with
91 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters