Streamline log messages (#16243)

pull/16699/head
Glenn Waters 2018-09-18 09:06:52 -04:00 committed by Paulus Schoutsen
parent cba3a5b055
commit 2a85ed7236
2 changed files with 2 additions and 2 deletions

View File

@ -476,7 +476,7 @@ class EventBus:
event = Event(event_type, event_data, origin, None, context)
if event_type != EVENT_TIME_CHANGED:
_LOGGER.info("Bus:Handling %s", event)
_LOGGER.debug("Bus:Handling %s", event)
if not listeners:
return

View File

@ -1180,7 +1180,7 @@ class TestZWaveServices(unittest.TestCase):
self.zwave_network.nodes = {14: node}
with self.assertLogs(level='INFO') as mock_logger:
with self.assertLogs(level='DEBUG') as mock_logger:
self.hass.services.call('zwave', 'print_node', {
const.ATTR_NODE_ID: 14
})