From f6c7823b6a3f9e95db856f81618e55920cf3545a Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 16 Apr 2020 18:43:11 +0200 Subject: [PATCH] Enable logging module --- usr/lib/python3.8/vmmgr/wsgiapp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/python3.8/vmmgr/wsgiapp.py b/usr/lib/python3.8/vmmgr/wsgiapp.py index bd429e2..1cb6038 100644 --- a/usr/lib/python3.8/vmmgr/wsgiapp.py +++ b/usr/lib/python3.8/vmmgr/wsgiapp.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import json +import logging import os from cryptography.exceptions import InvalidSignature from jinja2 import Environment, FileSystemLoader @@ -18,6 +19,7 @@ from .wsgilang import WSGILang from .wsgisession import WSGISession SESSION_KEY = os.urandom(26) +logging.basicConfig(level=logging.WARNING) class WSGIApp: def __init__(self):