Skip to content
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

[xcvrd] silence port update event warnings #567

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions sonic-xcvrd/xcvrd/xcvrd_utilities/port_event_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def subscribe_port_update_event(self):
port_tbl.filter = d['FILTER'] if 'FILTER' in d else None
asic_context[port_tbl] = asic_id
sel.addSelectable(port_tbl)
self.logger.log_warning("subscribing to port_tbl {} - {} DB of namespace {} ".format(
port_tbl, list(d.values())[0], namespace))
self.logger.log_info("subscribing to port_tbl {} - {} DB of namespace {} ".format(
port_tbl, list(d.values())[0], namespace))
self.sel, self.asic_context = sel, asic_context

def handle_port_update_event(self):
Expand Down Expand Up @@ -144,8 +144,8 @@ def handle_port_update_event(self):
if not multi_asic.is_front_panel_port(port_name, role):
continue

self.logger.log_warning("$$$ {} handle_port_update_event() : op={} DB:{} Table:{} fvp {}".format(
port_name, op, port_tbl.db_name, port_tbl.table_name, fvp))
self.logger.log_info("$$$ {} handle_port_update_event() : op={} DB:{} Table:{} fvp {}".format(
port_name, op, port_tbl.db_name, port_tbl.table_name, fvp))
if 'index' not in fvp:
fvp['index'] = '-1'
fvp['port_name'] = port_name
Expand Down Expand Up @@ -193,7 +193,7 @@ def handle_port_update_event(self):
db_name,
table_name)
# This is the final event considered for processing
self.logger.log_warning("*** {} handle_port_update_event() fvp {}".format(
self.logger.log_info("*** {} handle_port_update_event() fvp {}".format(
key, fvp))
if port_change_event is not None:
has_event = True
Expand Down
Loading