Enable logging module

This commit is contained in:
Disassembler 2020-04-16 18:43:11 +02:00
parent 3f70400ced
commit f6c7823b6a
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import json import json
import logging
import os import os
from cryptography.exceptions import InvalidSignature from cryptography.exceptions import InvalidSignature
from jinja2 import Environment, FileSystemLoader from jinja2 import Environment, FileSystemLoader
@ -18,6 +19,7 @@ from .wsgilang import WSGILang
from .wsgisession import WSGISession from .wsgisession import WSGISession
SESSION_KEY = os.urandom(26) SESSION_KEY = os.urandom(26)
logging.basicConfig(level=logging.WARNING)
class WSGIApp: class WSGIApp:
def __init__(self): def __init__(self):