Replaced logging to misc

This commit is contained in:
Kostiantyn Kriuchkov
2020-04-14 13:56:34 +03:00
parent 43b241d4e7
commit 0c1b561b80
3 changed files with 7 additions and 6 deletions

View File

@@ -1 +1,2 @@
from .throttling import rate_limit
from . import logging

6
utils/misc/logging.py Normal file
View File

@@ -0,0 +1,6 @@
import logging
logging.basicConfig(format=u'%(filename)s [LINE:%(lineno)d] #%(levelname)-8s [%(asctime)s] %(message)s',
level=logging.INFO,
# level=logging.DEBUG,
)