websocket topics listening is debug level now

This commit is contained in:
DevilXD committed 2021-12-04 18:43:30 +01:00
1 parent 857a543214
commit 32b62f75a1
1 file changed
+2 -2
+2 -2
View File
@@ -100,7 +100,7 @@ class Websocket:
self.change_connection_state(True) self.change_connection_state(True)
# Send all our chosen topics # Send all our chosen topics
topics_list = list(map(str, self._topics)) topics_list = list(map(str, self._topics))
logger.info(f"Listening for: {', '.join(topics_list)}") logger.debug(f"Listening for: {', '.join(topics_list)}")
self.send( self.send(
{ {
"type": "LISTEN", "type": "LISTEN",
@@ -218,7 +218,7 @@ class Websocket:
if self.connected.is_set(): if self.connected.is_set():
# we're already connected, so we have to send the topics list ourselves # we're already connected, so we have to send the topics list ourselves
topics_list = list(map(str, topics)) topics_list = list(map(str, topics))
logger.info(f"Listening for: {', '.join(topics_list)}") logger.debug(f"Listening for: {', '.join(topics_list)}")
return self.send( return self.send(
{ {
"type": "LISTEN", "type": "LISTEN",