Skip to content

Commit 52bcf14

Browse files
Junchao-Mellanoxmssonicbld
authored andcommitted
[xcvrd] change log content and log level when application is not found (sonic-net#503)
1 parent 8077bb1 commit 52bcf14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonic-xcvrd/xcvrd/xcvrd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def get_cmis_application_desired(api, host_lane_count, speed):
164164
get_interface_speed(app_info.get('host_electrical_interface_id')) == speed):
165165
return (index & 0xf)
166166

167-
helper_logger.log_error(f'Failed to get desired application from {appl_dict}')
167+
helper_logger.log_notice(f'No application found from {appl_dict} with host_lane_count={host_lane_count} speed={speed}')
168168
return None
169169

170170

0 commit comments

Comments
 (0)