Skip to content

Update logger to non user config table#18250

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
wen587:ignore_logger
May 13, 2025
Merged

Update logger to non user config table#18250
StormLiangMS merged 1 commit intosonic-net:masterfrom
wen587:ignore_logger

Conversation

@wen587
Copy link
Contributor

@wen587 wen587 commented May 7, 2025

Description of PR

Summary: Update LOGGER to non user config table since it is auto generated
Fixes # (issue) ADO: 32662299

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

Update LOGGER to non user config table since it is auto generated

How did you do it?

Add to non user config table

How did you verify/test it?

E2E test

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wen587 wen587 marked this pull request as ready for review May 7, 2025 04:32
@wen587 wen587 requested a review from StormLiangMS May 13, 2025 02:32
Copy link
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StormLiangMS StormLiangMS merged commit 85cc115 into sonic-net:master May 13, 2025
17 of 18 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request May 14, 2025
What is the motivation for this PR?
Update LOGGER to non user config table since it is auto generated

How did you do it?
Add to non user config table

How did you verify/test it?
E2E test
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #18395

mssonicbld pushed a commit that referenced this pull request Jul 2, 2025
What is the motivation for this PR?
Update LOGGER to non user config table since it is auto generated

How did you do it?
Add to non user config table

How did you verify/test it?
E2E test
sdszhang pushed a commit to sdszhang/sonic-mgmt that referenced this pull request Aug 2, 2025
Code sync sonic-net/sonic-mgmt:202411 => 202412

```
*   a1064ff (HEAD -> code-sync-202412, origin/code-sync-202412) r12f 250702:1620 - Merge remote-tracking branch 'base/202411' into code-sync-202412
|\
| * f98c8b2 (base/202411) jingwenxie 250513:1319 - Update logger to non user config table (sonic-net#18250)
| * 7958657 Chun'ang Li 250702:1223 - manual cherry pick PR https://github.com/sonic-net/sonic-mgmt/pull/19116/files (sonic-net#19322)
| * 14dda64 mssonicbld 250702:0533 - Fix flakiness in pfcwd/test_pfcwd_cli.py (sonic-net#17411) (sonic-net#17619)
```
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
What is the motivation for this PR?
Update LOGGER to non user config table since it is auto generated

How did you do it?
Add to non user config table

How did you verify/test it?
E2E test

Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
What is the motivation for this PR?
Update LOGGER to non user config table since it is auto generated

How did you do it?
Add to non user config table

How did you verify/test it?
E2E test

Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
What is the motivation for this PR?
Update LOGGER to non user config table since it is auto generated

How did you do it?
Add to non user config table

How did you verify/test it?
E2E test

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
What is the motivation for this PR?
Update LOGGER to non user config table since it is auto generated

How did you do it?
Add to non user config table

How did you verify/test it?
E2E test

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…t_hook, remove the sysfs power cycle (sonic-net#18250)

Why I did it
Add support for the graceful reboot instead of the sysfs power cycle to avoid filesystem corruption

Work item tracking
Microsoft ADO (number only):
How I did it
Rename the platform_reboot script to the pre_reboot_hook.
Remove the sysfs power cycle function, from now on the Debian reboot (/sbin/reboot) will be executed instead of the sysfs power cycle.

How to verify it
Start watching logs by using show log -f and journalctl -p debug -f
Execute the reboot command from the switch CLI
Check in logs that all systemd services terminated
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.

5 participants