-
Notifications
You must be signed in to change notification settings - Fork 159
Logging Configuration
Ellis Percival edited this page Jan 20, 2021
·
2 revisions
The logging
section of the config is passed directly to the Python logging
module's dictConfig()
function which is documented here: https://docs.python.org/3/library/logging.config.html#logging-config-dictschema
If left unset, the default config is:
version: 1
formatters:
simple:
format: "%(asctime)s %(name)s (%(levelname)s): %(message)s"
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: simple
stream: ext://sys.stdout
loggers:
mqtt_gpio:
level: INFO
handlers: [console]
propagate: yes