fixes due to logging change

This commit is contained in:
Dirk Alders 2025-07-24 14:35:50 +02:00
parent acae80d2c0
commit dd850023a3
2 changed files with 3 additions and 4 deletions

View File

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

View File

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