Skip to content

Remove logging flags for p4rt_app.#24747

Merged
baxia-lan merged 1 commit intosonic-net:masterfrom
divyagayathri-hcl:p4rt_logging
Jan 13, 2026
Merged

Remove logging flags for p4rt_app.#24747
baxia-lan merged 1 commit intosonic-net:masterfrom
divyagayathri-hcl:p4rt_logging

Conversation

@divyagayathri-hcl
Copy link
Copy Markdown
Contributor

@divyagayathri-hcl divyagayathri-hcl commented Dec 4, 2025

Why I did it

We are migrating from GLOG to absl/log in sonic-pins and absl/log does not use
these flags. By default, it already outputs to stderr.

How to verify it

With this arguments, the p4rt docker is crashing while loading the sonic-vs image.
After removing the arguments, we are able to make the p4rt docker up without any crash.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: rhalstea <rhalstea@google.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@kishanps
Copy link
Copy Markdown
Contributor

kishanps commented Jan 8, 2026

@divyagayathri-hcl Please update the description with why these changes are done.

@divyagayathri-hcl divyagayathri-hcl marked this pull request as draft January 9, 2026 05:57
@kishanps
Copy link
Copy Markdown
Contributor

Adding @baxia-lan for review and merge.

@divyagayathri-hcl divyagayathri-hcl marked this pull request as ready for review January 13, 2026 05:36
@baxia-lan baxia-lan merged commit e0f4839 into sonic-net:master Jan 13, 2026
23 checks passed
jasonbridges pushed a commit to jasonbridges/sonic-buildimage that referenced this pull request Jan 22, 2026
Signed-off-by: rhalstea <rhalstea@google.com>
Co-authored-by: rhalstea <rhalstea@google.com>
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
Signed-off-by: rhalstea <rhalstea@google.com>
Co-authored-by: rhalstea <rhalstea@google.com>
Signed-off-by: Feng Pan <fenpan@microsoft.com>
dprital pushed a commit that referenced this pull request Mar 19, 2026
Signed-off-by: rhalstea <rhalstea@google.com>
Co-authored-by: rhalstea <rhalstea@google.com>
Signed-off-by: dprital <drorp@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants