Merge pull request #821 from croneter/fix-plexhelper-log

Fix Plex Companion logging error messages
This commit is contained in:
croneter 2019-04-14 14:54:51 +02:00 committed by GitHub
commit 6f0cba6732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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