diff --git a/pwnagotchi/ui/web.py b/pwnagotchi/ui/web.py index dbe5dd4..c7396ff 100644 --- a/pwnagotchi/ui/web.py +++ b/pwnagotchi/ui/web.py @@ -5,7 +5,7 @@ import logging import os # https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server -logging.getLogger('werkzeug').disabled = True +logging.getLogger('werkzeug').setLevel(logging.ERROR) os.environ['WERKZEUG_RUN_MAIN'] = 'true' import pwnagotchi