X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/1074f7e8729c2ff065d73960c5450c9356c2fd11..8960711387d2b34c7f8b8d8a0cc036e52c6c6f06:/vlcclient/vlcclient.py?ds=sidebyside diff --git a/vlcclient/vlcclient.py b/vlcclient/vlcclient.py index dbe6f3f..69d9fb9 100644 --- a/vlcclient/vlcclient.py +++ b/vlcclient/vlcclient.py @@ -107,7 +107,7 @@ class VlcClient(object): try: # Write message - logger.debug('VLC command:',message) + logger.debug('VLC command: ' + message) self._socket.write(message + "\r\n") except EOFError as e: raise VlcException("Vlc Write error! ERROR: " + repr(e)) @@ -153,7 +153,8 @@ class VlcClient(object): logger.debug("Broadcast stopped") def startBroadcast(self, stream_name, input, muxer='ts', pre_access='', qtype='default'): - logger.debig("Starting broadcast......") + logger = logging.getLogger("VlcClient_startBroadcast") + logger.debug("Starting broadcast......") return self._broadcast(True, stream_name, input, muxer, pre_access, qtype) def stopBroadcast(self, stream_name):