Skip to content
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

[action] [PR:3186] [fast/warm-reboot] Put ERR message in syslog when a failure is seen (#3186) #3206

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

mssonicbld
Copy link
Collaborator

MSFT ADO: 26918588

This change is to add ERR logs generated during warm-reboot script to syslog.
Currently the ERR logs are sent in stdout and a corresponding entry is not added to syslog.
This makes it difficult to debug issues when stdout is not readily available.

How I did it
Modified existing error function to add the log entry to syslog.

How to verify it
Verified manually on physical device

…onic-net#3186)

MSFT ADO: 26918588

This change is to add ERR logs generated during warm-reboot script to syslog.
Currently the ERR logs are sent in stdout and a corresponding entry is not added to syslog.
This makes it difficult to debug issues when stdout is not readily available.

How I did it
Modified existing error function to add the log entry to syslog.

How to verify it
Verified manually on physical device
@mssonicbld
Copy link
Collaborator Author

Original PR: #3186

@mssonicbld mssonicbld merged commit a55624d into sonic-net:202305 Mar 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants