diff --git a/forch/faucet_event_client.py b/forch/faucet_event_client.py index b1db01e37..ec41a7661 100644 --- a/forch/faucet_event_client.py +++ b/forch/faucet_event_client.py @@ -157,7 +157,8 @@ def _debounce_port_event(self, event, port, active): self._port_timers[state_key].cancel() if active: # Port down events are ignored upon port up while there is a set timer. - self._logger.info('Ignoring spurious port down event') + self._logger.info('Ignoring spurious port down event for %s:%s', + event['dp_name'], port) if active: self._handle_debounce(event, port, active) diff --git a/forch/port_state_manager.py b/forch/port_state_manager.py index 3752fe17c..4819fa70b 100644 --- a/forch/port_state_manager.py +++ b/forch/port_state_manager.py @@ -337,7 +337,7 @@ def handle_testing_result(self, testing_result): mac_lower = mac.lower() terminal = self._transition_device_state(mac_lower, device_behavior) if terminal and mac_lower in self._sequester_timer: - self._logger.info('Cancelling deivce %s sequester timeout', mac_lower) + self._logger.info('Cancelling device %s sequester timeout', mac_lower) self._sequester_timer[mac_lower].cancel() del self._sequester_timer[mac_lower] return terminal