You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[warm/fast-reboot] Backup logs from tmpfs to disk during fast/warm shutdown (sonic-net#2714)
Goal: Preserve logs during TOR upgrades and shutdown
Need:
Below PRs moved logs from disk to tmpfs for specific hwskus.
Due to these changes, shutdown path logs are now lost.
The logs in shutdown path are crucial for debug purposes.
sonic-net/sonic-buildimage#13805sonic-net/sonic-buildimage#13587sonic-net/sonic-buildimage#13587
How I did it
Check if logs are on tmpfs. If yes, backup logs from /var/log
How to verify it
Verified on a physical device - logs on tmfs are backed up for past 30 minutes.
0 commit comments