Adaption2 to default logging method in module report
This commit is contained in:
parent
403723c047
commit
269ad217fa
@ -5,6 +5,19 @@ import os
|
|||||||
|
|
||||||
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
|
__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_SERVER = "{{ smart_sat_ambientinfo_hostname }}"
|
||||||
MQTT_USER = "{{ smart_sat_ambientinfo_username }}"
|
MQTT_USER = "{{ smart_sat_ambientinfo_username }}"
|
||||||
MQTT_PASS = "{{ smart_sat_ambientinfo_password }}"
|
MQTT_PASS = "{{ smart_sat_ambientinfo_password }}"
|
||||||
@ -22,12 +35,3 @@ else:
|
|||||||
# DHT-PORT
|
# DHT-PORT
|
||||||
DHT_22_PORT = board.D4
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user