fixes due to logging change
This commit is contained in:
parent
acae80d2c0
commit
dd850023a3
@ -13,7 +13,7 @@ try:
|
||||
from config import APP_NAME as ROOT_LOGGER_NAME
|
||||
except ImportError:
|
||||
ROOT_LOGGER_NAME = 'root'
|
||||
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild('main')
|
||||
logger = logging.getLogger(ROOT_LOGGER_NAME)
|
||||
|
||||
|
||||
class meaner(dict):
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: UTF-8 -*-
|
||||
import logging
|
||||
import os
|
||||
import report
|
||||
|
||||
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
@ -28,7 +28,6 @@ else:
|
||||
#
|
||||
APP_NAME = "ambient_info"
|
||||
|
||||
DEBUG = False
|
||||
LOG_HOSTNAME = "loggy" # When DEBUG is True
|
||||
LOG_LEVEL = logging.INFO # STDOUT logging
|
||||
|
||||
formatter = report.SHORT_FMT
|
||||
|
Loading…
x
Reference in New Issue
Block a user