{"version": 1,
"formatters": {"brief": {"format": "%(message)s"},
"full": {"format": "%(asctime)s %(name)-15s %(levelname)-8s %(message)s"}
},
"handlers": {"console": {
"class": "logging.StreamHandler",
"formatter": "brief",
"level": "INFO",
"stream": "ext://sys.stdout"},
############# je zappe les autres handlers ######################"
},
"loggers": {"mon_logger": {
"level": "DEBUG", "handlers": ["console", "console_priority","file","debugfile"]}},
"root": {"level": "DEBUG", "handlers": ["console", "console_priority","file","debugfile"]}} |