From e93fd94a71f356fd0fee7c75fe683db08e193bfa Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 5 Apr 2019 17:54:03 +0200 Subject: [PATCH] Fix Plex Companion logging error messages --- resources/lib/plexbmchelper/listener.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/lib/plexbmchelper/listener.py b/resources/lib/plexbmchelper/listener.py index 86487623..00b0cb4b 100644 --- a/resources/lib/plexbmchelper/listener.py +++ b/resources/lib/plexbmchelper/listener.py @@ -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)