Skip to content

[syncd] Move log set function after api initialize#1548

Merged
kcudnik merged 1 commit intosonic-net:masterfrom
kcudnik:loginit
Mar 20, 2025
Merged

[syncd] Move log set function after api initialize#1548
kcudnik merged 1 commit intosonic-net:masterfrom
kcudnik:loginit

Conversation

@kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented Mar 5, 2025

It may happen that in case of virtual switch, logset will be called before api initialize, which will log error messages, since VS was not initialized yet, and logSet in VS requires api to be initialized before call

It may happen that in case of virtual switch, logset
will be called before api initialize, which will log error
messages, since VS was not initialized yet, and logSet in VS
requires api to be initialized before call
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@kcudnik
Copy link
Collaborator Author

kcudnik commented Mar 5, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind
Copy link
Contributor

hi @kcudnik, can this be merged?
Once this is merged, I can include this PR and restart PR checks for sonic-net/sonic-buildimage#22019

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-sairedis.msft#61

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.

6 participants