Adaption to new logging

This commit is contained in:
Dirk Alders 2020-12-21 01:05:32 +01:00
parent 43e0d556d1
commit 53e9e080f8

View File

@ -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):