Fix Plex Companion logging error messages

This commit is contained in:
croneter 2019-04-05 17:54:03 +02:00
parent 25c2b5e782
commit e93fd94a71

View file

@ -47,6 +47,12 @@ class MyHandler(BaseHTTPRequestHandler):
self.serverlist = [] self.serverlist = []
BaseHTTPRequestHandler.__init__(self, *args, **kwargs) BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
def log_message(self, format, *args):
'''
Mute all requests, don't log 'em
'''
pass
def do_HEAD(self): def do_HEAD(self):
LOG.debug("Serving HEAD request...") LOG.debug("Serving HEAD request...")
self.answer_request(0) self.answer_request(0)