Closed 3dik closed 4 years ago
OK, I get what you're saying. Can you just make echo_bot.py
's default logging level set to INFO
? I like verbose reporting for starters.
Sure, no problem. But are you sure that you mean INFO
? Note that, in the other two example scripts, the log level is set to DEBUG
.
Well, in DEBUG
you see the raw XML that is sent, maybe this is too much. Anyway, these are the current logging levels of the examples (so no need to change them I think).
Got it. I forgot that the removed log_level
argument had a default value INFO
.
See the commit message for the rationale.
If you want to keep the two handlers etc., I suggest that we move that stuff to a public method
set_up_dev_logging
or something like that. Either way, in my opinion, not touching the logging configuration should at least be the default behavior.