Skip to content
Snippets Groups Projects
Commit 7e6c1c8c authored by David Trattnig's avatar David Trattnig
Browse files

Less verbose output.

parent 80d702e9
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ class LiquidSoapClient:
try:
if not self.disable_logging:
self.logger.info("LiquidSoapClient sending to LiquidSoap Server: " + message[0:len(message)-1])
self.logger.debug("LiquidSoapClient sending to LiquidSoap Server: " + message[0:len(message)-1])
# send all the stuff over the socket to liquidsoap server
self.socket.sendall(message.encode())
......@@ -212,7 +212,7 @@ class LiquidSoapClient:
self.read()
if not self.disable_logging:
self.logger.info("LiquidSoapClient got reply: " + self.message)
self.logger.debug("LiquidSoapClient got reply: " + self.message)
except BrokenPipeError as e:
self.logger.error(TerminalColors.RED.value+"Detected a problem with liquidsoap connection while sending: " + message + ". Reason: " + str(e) + "! Trying to reconnect."+TerminalColors.RED.value)
self.connect()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment