Vinay Sajip added the comment:

> and provides no straightforward API for me to reconfigure its logger.

As far as I know, you just need to do something which configures a Flask 
logger, then call logging.config.dictConfig() with a suitable configuration 
which doesn't disable existing loggers and configures the Flask logger how you 
want. (The dictConfig call should replace any existing configuration with what 
you've passed to it). See this:

https://stackoverflow.com/questions/11816236/how-to-config-flask-app-logger-from-a-configure-file

----------
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29955>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to