From bbee1520fbed20f0aa5f23fc47294830d743cf9c Mon Sep 17 00:00:00 2001 From: Anoop Kamath <115578705+AnoopKamath@users.noreply.github.com> Date: Tue, 15 Aug 2023 17:17:07 -0700 Subject: [PATCH] Add Vendor key to XCVRD log --- sonic-xcvrd/xcvrd/xcvrd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonic-xcvrd/xcvrd/xcvrd.py b/sonic-xcvrd/xcvrd/xcvrd.py index cae44707d..ab06b9ab1 100644 --- a/sonic-xcvrd/xcvrd/xcvrd.py +++ b/sonic-xcvrd/xcvrd/xcvrd.py @@ -1627,7 +1627,8 @@ def task_worker(self): optics_si_dict = optics_si_parser.fetch_optics_si_setting(pport, lane_speed, sfp) if optics_si_dict: - self.log_notice("{}: Optics SI found. Apply".format(lport)) + self.log_notice("{}: Apply Optics SI found for Vendor: {} PN: {} lane speed: {}G". + format(lport, api.get_manufacturer(), api.get_model(), lane_speed)) if not api.stage_custom_si_settings(host_lanes_mask, optics_si_dict): self.log_notice("{}: unable to stage custom SI settings ".format(lport)) self.force_cmis_reinit(lport, retries + 1)