Adaption to new logging
This commit is contained in:
parent
43e0d556d1
commit
53e9e080f8
@ -3,8 +3,12 @@ import numbers
|
||||
import os
|
||||
import time
|
||||
|
||||
logger_name = 'HELPERS'
|
||||
logger = logging.getLogger(logger_name)
|
||||
try:
|
||||
from config import APP_NAME as ROOT_LOGGER_NAME
|
||||
except ImportError:
|
||||
ROOT_LOGGER_NAME = 'root'
|
||||
|
||||
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
|
||||
|
||||
|
||||
class continues_statistic(dict):
|
||||
|
Loading…
x
Reference in New Issue
Block a user