diff --git a/backend/backend.py b/backend/backend.py index 9da031f..3102e97 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -1,3 +1,12 @@ +import logging +LOG = logging.getLogger(__name__) +# Set the logger level to ERROR +LOG.setLevel(logging.ERROR) + +# Otherwise the obswebsocket library will create a separate logger with a lower warning level spamming the console if OBS isn't running +logging.getLogger = lambda *args, **kwargs: LOG + + from streamcontroller_plugin_tools import BackendBase from OBSController import OBSController