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

[show]: If rotated syslog.1 file exists, concatenate output of syslog.1 and syslog #159

Merged
merged 1 commit into from
Dec 5, 2017
Merged

[show]: If rotated syslog.1 file exists, concatenate output of syslog.1 and syslog #159

merged 1 commit into from
Dec 5, 2017

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Dec 4, 2017

In the case /var/log/syslog was recently rotated, show logging could potentially display no or very few log messages. WIth this PR, if /var/log/syslog.1 exists, we will display the contents of /var/log/syslog.1 followed by the contents of /var/log/syslog, thus ensuring show logging always displays a reasonable amount of recent log messages.

@jleveque jleveque self-assigned this Dec 4, 2017
@jleveque jleveque merged commit 835825d into sonic-net:master Dec 5, 2017
@jleveque jleveque deleted the show_logging_rotated branch December 5, 2017 19:01
vdahiya12 added a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
…s, omit the check inside hw_state table (sonic-net#159)

This change essentially omits a look inside the state DB for HW_MUX_CABLE_TABLE and just directly goes to the muxcable
eeprom to either toggle or remain Iin the same state as is requested from the incoming message from orchagent, and then write back to the DB

Description
This fix will help in debugging the initialization loop since now other modules will not be dependent on stale state present in
HW_MUX_CABLE_TABLE.

How Has This Been Tested?
Tested on starlab testbed with integration of other modules


Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
Signed-off-by: vedganes <vedavinayagam.ganesan@nokia.com>

Inband port is avaialable in PORT table. But regular port handlings are
not applicable for Inband port. Changes in this PR for avoiding regular
port handling on Inband port.
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