-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[Mellanox] Correct the wrong log identifiers of platform daemons #3596
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
Conversation
I think it might be even better if each class doesn't need to instantiate the Logger class. Maybe the new platform API itself could hold a global Logger class which is passed to it upon initialization. I just feel it isn't clear why in some instances the syslog identifier isn't passed into the constructor. This would also eliminate the need for each class to import sonic_daemon_base. I'm OK with merging this as a temporary solution, but I think we should consider a better long-term solution. |
Personally, I like your idea but I gave up doing so after reflecting on its impacts.
In addition, all updates listed above have to be committed together otherwise the platform API will be broken and the daemons fall back to the plugin model. |
@stephenxs: I agree that my suggestion would be a pretty major change, so I agree with you to wait until after the 201910 release branch is created. |
Retest this please |
…atically (#20573) #### Why I did it src/sonic-utilities ``` * 32e6de7 - (HEAD -> master, origin/master, origin/HEAD) Update DB migrator script to next branch 202505 (#3664) (3 days ago) [Kumaresh Perumal] * 8d00aba - (origin/test_202411_20, origin/test_202411_100, origin/kperumal_202411, origin/202411) Fix save_file command in generate_dump (#3647) (4 days ago) [DavidZagury] * 038aaa5 - Revert "Speed up route_check script" (#3653) (4 days ago) [xwjiang-ms] * 032a0e0 - [config]Restrict YANG validation to Golden Config (#3656) (4 days ago) [jingwenxie] * 47b79be - Update gcu_field_operation_validators.conf.json with Arista-7260CX3-D108C10 (#3650) (4 days ago) [Dev Ojha] * 845f46e - Update PR checker pipeline to point to bookworm (#3651) (4 days ago) [bingwang-ms] * 28e645f - [show_tech] Filter out a list of commands in generate_dump script which are not applicable to Supervisor (#3646) (5 days ago) [Marty Y. Lok] * b767cb8 - [cisco|express-boot]: Add support for cisco express boot in sonic-utilities (#3056) (6 days ago) [jhli-cisco] * f6b9912 - Fix show command column change issue (#3645) (8 days ago) [Feng-msft] * 9cd6c8d - Debug dump utility dash objects update (#3387) (8 days ago) [Gagan Punathil Ellath] * f705c45 - Validate interface name length in CLI (#3580) (8 days ago) [Stepan Blyshchak] * 3d78cb1 - [Mellanox] Update the save_file command in generate_dump to handle folders (#3631) (13 days ago) [DavidZagury] * 5086a43 - Fix counterpoll show for ENI Counters (#3618) (13 days ago) [Vivek] * 70f8139 - Extra delay between running firmware and updating firmware version (#3610) (2 weeks ago) [Stephen Sun] * 636f7f1 - Add port FEC BER show changes (#3607) (2 weeks ago) [vincentpcng] * 5e60031 - Supports FRR-VRRP configuration (#2949) (3 weeks ago) [Philo] * 9bd37dc - [ARM64][Warm-Reboot]: Get boot arguments from uboot environment (#3613) (3 weeks ago) [Parthiv Shah] * 171b16c - platform/innovium renaming to platform/marvell-teralynx (#3474) (3 weeks ago) [krismarvell] * 2cbfcc9 - [Mellanox] Add Mellanox-SN5600-C224O8 to gcu_field.json (#3612) (4 weeks ago) [noaOrMlnx] * a8f7bde - PVST Feature commit (#3567) (4 weeks ago) [Divya Kumaran Chandralekha] * 0e18807 - Refresh dump file modify timestamp before cleanup call (#3595) (4 weeks ago) [anamehra] * 8f3c5ef - [warm-reboot] Add support to pass extra kernel cmdline parameters (#3192) (4 weeks ago) [Pavan Naregundi] * 9677447 - Run yang validation in db migrator (#3102) (4 weeks ago) [ganglv] * 9708f52 - [Mellanox] Update C256X1 SKU to be C256S1 in gcu_field.json (#3611) (4 weeks ago) [noaOrMlnx] * 093ed4a - [SPM] Add logic to disable the feature before stopping it and enabling it before starting (#3344) (4 weeks ago) [Vadym Hlushko] * 7d013df - Fix slash in path. (#3573) (5 weeks ago) [Xincun Li] * 0af4386 - Consolidate the get running config way. (#3585) (5 weeks ago) [Xincun Li] * 964b489 - Fix for integer overflow of counter value if its too large (#3596) (5 weeks ago) [harjotsinghpawra] * 3354d08 - [config] Bypass standard input for reload (#3597) (5 weeks ago) [jingwenxie] * 7cbcfda - Speed up route_check script (#3544) (5 weeks ago) [Deepak Singhal] * 329fc22 - Add support of the pensando-dpu platform to generate-dump utility. (#3557) (6 weeks ago) [BHUKYA SIDDHU] * 0ae2ec1 - Add CLI for bmp configdb entity Enable/Disable (#3286) (6 weeks ago) [Feng-msft] * 5b37ee6 - Vnet_route_check TCP socket for DB connection. (#3578) (6 weeks ago) [siqbal1986] * d64a90a - Adds logic to get default disk and check disk type (#3399) (6 weeks ago) [Ashwin Srinivasan] * b2b9734 - [Banner] Added CLI commands to configure Banner and display current configuration (#3021) (6 weeks ago) [Sviatoslav Boichuk] * d0aa94a - Revert "Record and warn tables which not covered by YANG (#3583)" (#3588) (7 weeks ago) [jingwenxie] * aeda86a - Record and warn tables which not covered by YANG (#3583) (7 weeks ago) [jingwenxie] * dd34d7c - Revert "Skip default lanes dup check (#3489)" (#3572) (7 weeks ago) [Xincun Li] * 6c8007f - [Mellanox]Remove deprecated sdk sniffer cli and collect sdk dump in show techsupport (#3491) (7 weeks ago) [Yuanzhe] * 89bb87a - Add YANG validation for config reload if file is given (#3576) (7 weeks ago) [jingwenxie] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (sonic-net#20573) #### Why I did it src/sonic-utilities ``` * 32e6de7 - (HEAD -> master, origin/master, origin/HEAD) Update DB migrator script to next branch 202505 (sonic-net#3664) (3 days ago) [Kumaresh Perumal] * 8d00aba - (origin/test_202411_20, origin/test_202411_100, origin/kperumal_202411, origin/202411) Fix save_file command in generate_dump (sonic-net#3647) (4 days ago) [DavidZagury] * 038aaa5 - Revert "Speed up route_check script" (sonic-net#3653) (4 days ago) [xwjiang-ms] * 032a0e0 - [config]Restrict YANG validation to Golden Config (sonic-net#3656) (4 days ago) [jingwenxie] * 47b79be - Update gcu_field_operation_validators.conf.json with Arista-7260CX3-D108C10 (sonic-net#3650) (4 days ago) [Dev Ojha] * 845f46e - Update PR checker pipeline to point to bookworm (sonic-net#3651) (4 days ago) [bingwang-ms] * 28e645f - [show_tech] Filter out a list of commands in generate_dump script which are not applicable to Supervisor (sonic-net#3646) (5 days ago) [Marty Y. Lok] * b767cb8 - [cisco|express-boot]: Add support for cisco express boot in sonic-utilities (sonic-net#3056) (6 days ago) [jhli-cisco] * f6b9912 - Fix show command column change issue (sonic-net#3645) (8 days ago) [Feng-msft] * 9cd6c8d - Debug dump utility dash objects update (sonic-net#3387) (8 days ago) [Gagan Punathil Ellath] * f705c45 - Validate interface name length in CLI (sonic-net#3580) (8 days ago) [Stepan Blyshchak] * 3d78cb1 - [Mellanox] Update the save_file command in generate_dump to handle folders (sonic-net#3631) (13 days ago) [DavidZagury] * 5086a43 - Fix counterpoll show for ENI Counters (sonic-net#3618) (13 days ago) [Vivek] * 70f8139 - Extra delay between running firmware and updating firmware version (sonic-net#3610) (2 weeks ago) [Stephen Sun] * 636f7f1 - Add port FEC BER show changes (sonic-net#3607) (2 weeks ago) [vincentpcng] * 5e60031 - Supports FRR-VRRP configuration (sonic-net#2949) (3 weeks ago) [Philo] * 9bd37dc - [ARM64][Warm-Reboot]: Get boot arguments from uboot environment (sonic-net#3613) (3 weeks ago) [Parthiv Shah] * 171b16c - platform/innovium renaming to platform/marvell-teralynx (sonic-net#3474) (3 weeks ago) [krismarvell] * 2cbfcc9 - [Mellanox] Add Mellanox-SN5600-C224O8 to gcu_field.json (sonic-net#3612) (4 weeks ago) [noaOrMlnx] * a8f7bde - PVST Feature commit (sonic-net#3567) (4 weeks ago) [Divya Kumaran Chandralekha] * 0e18807 - Refresh dump file modify timestamp before cleanup call (sonic-net#3595) (4 weeks ago) [anamehra] * 8f3c5ef - [warm-reboot] Add support to pass extra kernel cmdline parameters (sonic-net#3192) (4 weeks ago) [Pavan Naregundi] * 9677447 - Run yang validation in db migrator (sonic-net#3102) (4 weeks ago) [ganglv] * 9708f52 - [Mellanox] Update C256X1 SKU to be C256S1 in gcu_field.json (sonic-net#3611) (4 weeks ago) [noaOrMlnx] * 093ed4a - [SPM] Add logic to disable the feature before stopping it and enabling it before starting (sonic-net#3344) (4 weeks ago) [Vadym Hlushko] * 7d013df - Fix slash in path. (sonic-net#3573) (5 weeks ago) [Xincun Li] * 0af4386 - Consolidate the get running config way. (sonic-net#3585) (5 weeks ago) [Xincun Li] * 964b489 - Fix for integer overflow of counter value if its too large (sonic-net#3596) (5 weeks ago) [harjotsinghpawra] * 3354d08 - [config] Bypass standard input for reload (sonic-net#3597) (5 weeks ago) [jingwenxie] * 7cbcfda - Speed up route_check script (sonic-net#3544) (5 weeks ago) [Deepak Singhal] * 329fc22 - Add support of the pensando-dpu platform to generate-dump utility. (sonic-net#3557) (6 weeks ago) [BHUKYA SIDDHU] * 0ae2ec1 - Add CLI for bmp configdb entity Enable/Disable (sonic-net#3286) (6 weeks ago) [Feng-msft] * 5b37ee6 - Vnet_route_check TCP socket for DB connection. (sonic-net#3578) (6 weeks ago) [siqbal1986] * d64a90a - Adds logic to get default disk and check disk type (sonic-net#3399) (6 weeks ago) [Ashwin Srinivasan] * b2b9734 - [Banner] Added CLI commands to configure Banner and display current configuration (sonic-net#3021) (6 weeks ago) [Sviatoslav Boichuk] * d0aa94a - Revert "Record and warn tables which not covered by YANG (sonic-net#3583)" (sonic-net#3588) (7 weeks ago) [jingwenxie] * aeda86a - Record and warn tables which not covered by YANG (sonic-net#3583) (7 weeks ago) [jingwenxie] * dd34d7c - Revert "Skip default lanes dup check (sonic-net#3489)" (sonic-net#3572) (7 weeks ago) [Xincun Li] * 6c8007f - [Mellanox]Remove deprecated sdk sniffer cli and collect sdk dump in show techsupport (sonic-net#3491) (7 weeks ago) [Yuanzhe] * 89bb87a - Add YANG validation for config reload if file is given (sonic-net#3576) (7 weeks ago) [jingwenxie] ``` #### How I did it #### How to verify it #### Description for the changelog
…lly (#22378) #### Why I did it src/sonic-swss ``` * e0b2ac61 - (HEAD -> master, origin/master, origin/HEAD) swss: Align STP structures and remove GCC diagnostic pragmas (#3440) (3 hours ago) [Omar Tamer] * 120ed90a - [fgnhgorch] Fix incorrect state DB updates due to unordered field-val… (#3566) (3 hours ago) [InspurSDN] * 1552e340 - Move timestamps out of counter table to avoid update too frequently (#3585) (6 hours ago) [Stephen Sun] * 73e534c3 - Initialize the last fec ber computed values if not found (#3604) (27 hours ago) [Prince George] * 504daa19 - [az] Install vpp artifacts (#3609) (27 hours ago) [Kamil Cudnik] * bc750a5a - [orchagent] Add value validation for RouteOrch, NhgOrch and Srv6Orch (#3596) (4 days ago) [Yuqing Zhao(Alibaba Inc)] * d1fb9f7f - [DASH] Dash tunnel/PL NSG implementation (#3543) (4 days ago) [Lawrence Lee] * ffc865e6 - Fix a pipeline issue due to dependency in docker-sonic-vs (#3603) (4 days ago) [Dashuai Zhang] * f7ca83d2 - Fix the missed port status notifications issue (#3595) (7 days ago) [Vivek] * 5592fbe0 - [portsorch] pass oper status at hostif creation (#3563) (7 days ago) [Stepan Blyshchak] * 7bcd21c7 - [orchagent] Fix issue: typo in high BER (#3600) (8 days ago) [Junchao-Mellanox] * 3e1f8d8f - [portmgrd] regression: prevent runtime exception (crash) in configuring portchannel at boot (#3432) (8 days ago) [Brad House] * 492a85ae - [DASH] Make DASH vnet orch bulk logic consistent (#3554) (2 weeks ago) [Lawrence Lee] * 822ab913 - Handle outbound_direction_lookup for DASH_APPLIANCE_TABLE (#3571) (3 weeks ago) [prabhataravind] * fe9b89e4 - [DVS] Remove framework package during DVS build (#3577) (3 weeks ago) [Lawrence Lee] * 596d88c1 - Added Change for given Route ECMP to fallback on Default Route ECMP (#3389) (3 weeks ago) [abdosi] * d35c1c77 - Initialize number of counters to 0 before querying the capabilities (#3546) (5 weeks ago) [Stephen Sun] * 0e0685ae - Fix the switch level Voq counter to use switch_id Oid instead of counter name for PACKET_INTEGRITY counter (#3521) (5 weeks ago) [saksarav-nokia] * ee38b39e - [BFD] Change capability check to get. (#3559) (5 weeks ago) [dypet] * 45fdedb9 - Prevent lossless profile creation for 0m cable (#3548) (5 weeks ago) [Jianyue Wu] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (sonic-net#20573) #### Why I did it src/sonic-utilities ``` * 32e6de7 - (HEAD -> master, origin/master, origin/HEAD) Update DB migrator script to next branch 202505 (sonic-net#3664) (3 days ago) [Kumaresh Perumal] * 8d00aba - (origin/test_202411_20, origin/test_202411_100, origin/kperumal_202411, origin/202411) Fix save_file command in generate_dump (sonic-net#3647) (4 days ago) [DavidZagury] * 038aaa5 - Revert "Speed up route_check script" (sonic-net#3653) (4 days ago) [xwjiang-ms] * 032a0e0 - [config]Restrict YANG validation to Golden Config (sonic-net#3656) (4 days ago) [jingwenxie] * 47b79be - Update gcu_field_operation_validators.conf.json with Arista-7260CX3-D108C10 (sonic-net#3650) (4 days ago) [Dev Ojha] * 845f46e - Update PR checker pipeline to point to bookworm (sonic-net#3651) (4 days ago) [bingwang-ms] * 28e645f - [show_tech] Filter out a list of commands in generate_dump script which are not applicable to Supervisor (sonic-net#3646) (5 days ago) [Marty Y. Lok] * b767cb8 - [cisco|express-boot]: Add support for cisco express boot in sonic-utilities (sonic-net#3056) (6 days ago) [jhli-cisco] * f6b9912 - Fix show command column change issue (sonic-net#3645) (8 days ago) [Feng-msft] * 9cd6c8d - Debug dump utility dash objects update (sonic-net#3387) (8 days ago) [Gagan Punathil Ellath] * f705c45 - Validate interface name length in CLI (sonic-net#3580) (8 days ago) [Stepan Blyshchak] * 3d78cb1 - [Mellanox] Update the save_file command in generate_dump to handle folders (sonic-net#3631) (13 days ago) [DavidZagury] * 5086a43 - Fix counterpoll show for ENI Counters (sonic-net#3618) (13 days ago) [Vivek] * 70f8139 - Extra delay between running firmware and updating firmware version (sonic-net#3610) (2 weeks ago) [Stephen Sun] * 636f7f1 - Add port FEC BER show changes (sonic-net#3607) (2 weeks ago) [vincentpcng] * 5e60031 - Supports FRR-VRRP configuration (sonic-net#2949) (3 weeks ago) [Philo] * 9bd37dc - [ARM64][Warm-Reboot]: Get boot arguments from uboot environment (sonic-net#3613) (3 weeks ago) [Parthiv Shah] * 171b16c - platform/innovium renaming to platform/marvell-teralynx (sonic-net#3474) (3 weeks ago) [krismarvell] * 2cbfcc9 - [Mellanox] Add Mellanox-SN5600-C224O8 to gcu_field.json (sonic-net#3612) (4 weeks ago) [noaOrMlnx] * a8f7bde - PVST Feature commit (sonic-net#3567) (4 weeks ago) [Divya Kumaran Chandralekha] * 0e18807 - Refresh dump file modify timestamp before cleanup call (sonic-net#3595) (4 weeks ago) [anamehra] * 8f3c5ef - [warm-reboot] Add support to pass extra kernel cmdline parameters (sonic-net#3192) (4 weeks ago) [Pavan Naregundi] * 9677447 - Run yang validation in db migrator (sonic-net#3102) (4 weeks ago) [ganglv] * 9708f52 - [Mellanox] Update C256X1 SKU to be C256S1 in gcu_field.json (sonic-net#3611) (4 weeks ago) [noaOrMlnx] * 093ed4a - [SPM] Add logic to disable the feature before stopping it and enabling it before starting (sonic-net#3344) (4 weeks ago) [Vadym Hlushko] * 7d013df - Fix slash in path. (sonic-net#3573) (5 weeks ago) [Xincun Li] * 0af4386 - Consolidate the get running config way. (sonic-net#3585) (5 weeks ago) [Xincun Li] * 964b489 - Fix for integer overflow of counter value if its too large (sonic-net#3596) (5 weeks ago) [harjotsinghpawra] * 3354d08 - [config] Bypass standard input for reload (sonic-net#3597) (5 weeks ago) [jingwenxie] * 7cbcfda - Speed up route_check script (sonic-net#3544) (5 weeks ago) [Deepak Singhal] * 329fc22 - Add support of the pensando-dpu platform to generate-dump utility. (sonic-net#3557) (6 weeks ago) [BHUKYA SIDDHU] * 0ae2ec1 - Add CLI for bmp configdb entity Enable/Disable (sonic-net#3286) (6 weeks ago) [Feng-msft] * 5b37ee6 - Vnet_route_check TCP socket for DB connection. (sonic-net#3578) (6 weeks ago) [siqbal1986] * d64a90a - Adds logic to get default disk and check disk type (sonic-net#3399) (6 weeks ago) [Ashwin Srinivasan] * b2b9734 - [Banner] Added CLI commands to configure Banner and display current configuration (sonic-net#3021) (6 weeks ago) [Sviatoslav Boichuk] * d0aa94a - Revert "Record and warn tables which not covered by YANG (sonic-net#3583)" (sonic-net#3588) (7 weeks ago) [jingwenxie] * aeda86a - Record and warn tables which not covered by YANG (sonic-net#3583) (7 weeks ago) [jingwenxie] * dd34d7c - Revert "Skip default lanes dup check (sonic-net#3489)" (sonic-net#3572) (7 weeks ago) [Xincun Li] * 6c8007f - [Mellanox]Remove deprecated sdk sniffer cli and collect sdk dump in show techsupport (sonic-net#3491) (7 weeks ago) [Yuanzhe] * 89bb87a - Add YANG validation for config reload if file is given (sonic-net#3576) (7 weeks ago) [jingwenxie] ``` #### How I did it #### How to verify it #### Description for the changelog
…lly (sonic-net#22378) #### Why I did it src/sonic-swss ``` * e0b2ac61 - (HEAD -> master, origin/master, origin/HEAD) swss: Align STP structures and remove GCC diagnostic pragmas (sonic-net#3440) (3 hours ago) [Omar Tamer] * 120ed90a - [fgnhgorch] Fix incorrect state DB updates due to unordered field-val… (sonic-net#3566) (3 hours ago) [InspurSDN] * 1552e340 - Move timestamps out of counter table to avoid update too frequently (sonic-net#3585) (6 hours ago) [Stephen Sun] * 73e534c3 - Initialize the last fec ber computed values if not found (sonic-net#3604) (27 hours ago) [Prince George] * 504daa19 - [az] Install vpp artifacts (sonic-net#3609) (27 hours ago) [Kamil Cudnik] * bc750a5a - [orchagent] Add value validation for RouteOrch, NhgOrch and Srv6Orch (sonic-net#3596) (4 days ago) [Yuqing Zhao(Alibaba Inc)] * d1fb9f7f - [DASH] Dash tunnel/PL NSG implementation (sonic-net#3543) (4 days ago) [Lawrence Lee] * ffc865e6 - Fix a pipeline issue due to dependency in docker-sonic-vs (sonic-net#3603) (4 days ago) [Dashuai Zhang] * f7ca83d2 - Fix the missed port status notifications issue (sonic-net#3595) (7 days ago) [Vivek] * 5592fbe0 - [portsorch] pass oper status at hostif creation (sonic-net#3563) (7 days ago) [Stepan Blyshchak] * 7bcd21c7 - [orchagent] Fix issue: typo in high BER (sonic-net#3600) (8 days ago) [Junchao-Mellanox] * 3e1f8d8f - [portmgrd] regression: prevent runtime exception (crash) in configuring portchannel at boot (sonic-net#3432) (8 days ago) [Brad House] * 492a85ae - [DASH] Make DASH vnet orch bulk logic consistent (sonic-net#3554) (2 weeks ago) [Lawrence Lee] * 822ab913 - Handle outbound_direction_lookup for DASH_APPLIANCE_TABLE (sonic-net#3571) (3 weeks ago) [prabhataravind] * fe9b89e4 - [DVS] Remove framework package during DVS build (sonic-net#3577) (3 weeks ago) [Lawrence Lee] * 596d88c1 - Added Change for given Route ECMP to fallback on Default Route ECMP (sonic-net#3389) (3 weeks ago) [abdosi] * d35c1c77 - Initialize number of counters to 0 before querying the capabilities (sonic-net#3546) (5 weeks ago) [Stephen Sun] * 0e0685ae - Fix the switch level Voq counter to use switch_id Oid instead of counter name for PACKET_INTEGRITY counter (sonic-net#3521) (5 weeks ago) [saksarav-nokia] * ee38b39e - [BFD] Change capability check to get. (sonic-net#3559) (5 weeks ago) [dypet] * 45fdedb9 - Prevent lossless profile creation for 0m cable (sonic-net#3548) (5 weeks ago) [Jianyue Wu] ``` #### How I did it #### How to verify it #### Description for the changelog
…lly (sonic-net#22378) #### Why I did it src/sonic-swss ``` * e0b2ac61 - (HEAD -> master, origin/master, origin/HEAD) swss: Align STP structures and remove GCC diagnostic pragmas (sonic-net#3440) (3 hours ago) [Omar Tamer] * 120ed90a - [fgnhgorch] Fix incorrect state DB updates due to unordered field-val… (sonic-net#3566) (3 hours ago) [InspurSDN] * 1552e340 - Move timestamps out of counter table to avoid update too frequently (sonic-net#3585) (6 hours ago) [Stephen Sun] * 73e534c3 - Initialize the last fec ber computed values if not found (sonic-net#3604) (27 hours ago) [Prince George] * 504daa19 - [az] Install vpp artifacts (sonic-net#3609) (27 hours ago) [Kamil Cudnik] * bc750a5a - [orchagent] Add value validation for RouteOrch, NhgOrch and Srv6Orch (sonic-net#3596) (4 days ago) [Yuqing Zhao(Alibaba Inc)] * d1fb9f7f - [DASH] Dash tunnel/PL NSG implementation (sonic-net#3543) (4 days ago) [Lawrence Lee] * ffc865e6 - Fix a pipeline issue due to dependency in docker-sonic-vs (sonic-net#3603) (4 days ago) [Dashuai Zhang] * f7ca83d2 - Fix the missed port status notifications issue (sonic-net#3595) (7 days ago) [Vivek] * 5592fbe0 - [portsorch] pass oper status at hostif creation (sonic-net#3563) (7 days ago) [Stepan Blyshchak] * 7bcd21c7 - [orchagent] Fix issue: typo in high BER (sonic-net#3600) (8 days ago) [Junchao-Mellanox] * 3e1f8d8f - [portmgrd] regression: prevent runtime exception (crash) in configuring portchannel at boot (sonic-net#3432) (8 days ago) [Brad House] * 492a85ae - [DASH] Make DASH vnet orch bulk logic consistent (sonic-net#3554) (2 weeks ago) [Lawrence Lee] * 822ab913 - Handle outbound_direction_lookup for DASH_APPLIANCE_TABLE (sonic-net#3571) (3 weeks ago) [prabhataravind] * fe9b89e4 - [DVS] Remove framework package during DVS build (sonic-net#3577) (3 weeks ago) [Lawrence Lee] * 596d88c1 - Added Change for given Route ECMP to fallback on Default Route ECMP (sonic-net#3389) (3 weeks ago) [abdosi] * d35c1c77 - Initialize number of counters to 0 before querying the capabilities (sonic-net#3546) (5 weeks ago) [Stephen Sun] * 0e0685ae - Fix the switch level Voq counter to use switch_id Oid instead of counter name for PACKET_INTEGRITY counter (sonic-net#3521) (5 weeks ago) [saksarav-nokia] * ee38b39e - [BFD] Change capability check to get. (sonic-net#3559) (5 weeks ago) [dypet] * 45fdedb9 - Prevent lossless profile creation for 0m cable (sonic-net#3548) (5 weeks ago) [Jianyue Wu] ``` #### How I did it #### How to verify it #### Description for the changelog
- What I did
Correct the wrong log identifiers of platform daemons on Mellanox platform
Originally the Logger class was introduced for the daemons running in pmon docker to provide them the ability to log message in an easy way with log identifier initialized as daemon's name.
When platform API is developed the Logger was also used by them with log identifiers initialized as the classes' name.
However, the logger identifier is global of the entire process scope, which means only one instance of log identifier for the entire daemon. As a result, the classes who is lastly loaded will have its classname set to the daemon's log identifier, causing the identifier incorrect in the logging message.
Since the original meaning of log identifier is the name of the daemon but not the modules, only daemons is legal to set the log identifier. All classes shouldn't set the log identifier when instantiate Logger class.
- How I did it
Don't touch log identifier when initialized by classes in platform API.
- How to verify it
config reload and check whether the pmon logs are correct.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)