Enable logging module
This commit is contained in:
parent
3f70400ced
commit
f6c7823b6a
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user