def __init__(self, *args, **kwargs): self.host = socket.gethostname() LogManager.__init__(self, *args, **kwargs)
def access(self): request = cherrypy.serving.request # Ignore all status requests as they do nothing but fill up the log if request.request_line != "GET /api/playr?fn=status HTTP/1.1": return LogManager.access(self)
def __init__(self, *args, **kwargs): LogManager.__init__(self, *args, **kwargs)