Apuntes_Python/02_conceptos/10_logging/logging.conf
2022-12-24 22:41:20 -03:00

28 lines
440 B
Plaintext

[loggers]
keys=root, ejemploSimple
[handlers]
keys=handlerConsola
[formatters]
keys=formatterSimple
[logger_root]
level=DEBUG
handlers=handlerConsola
[logger_ejemploSimple]
level=DEBUG
handlers=handlerConsola
qualname=ejemploSimple
propagate=0
[handler_handlerConsola]
class=StreamHandler
level=DEBUG
formatter=formatterSimple
args=(sys.stdout,)
[formatter_formatterSimple]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s