Adaption2 to default logging method in module report

This commit is contained in:
Dirk Alders 2025-07-27 13:08:06 +02:00
parent 403723c047
commit 269ad217fa

View File

@ -5,6 +5,19 @@ import os
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
DEBUG = False
#
# Logging
#
APP_NAME = "ambient_info"
LOG_HOSTNAME = "loggy" # When DEBUG is True
LOG_LEVEL = logging.INFO # STDOUT logging
#
# Application
#
MQTT_SERVER = "{{ smart_sat_ambientinfo_hostname }}"
MQTT_USER = "{{ smart_sat_ambientinfo_username }}"
MQTT_PASS = "{{ smart_sat_ambientinfo_password }}"
@ -22,12 +35,3 @@ else:
# DHT-PORT
DHT_22_PORT = board.D4
#
# Logging
#
APP_NAME = "ambient_info"
DEBUG = False
LOG_HOSTNAME = "loggy" # When DEBUG is True
LOG_LEVEL = logging.INFO # STDOUT logging