The flask app also has an `APP.logger`, so you could use that since its available and configure it  based on the conf file for getting different handlers (Like stdout and rotating file handlers)

Some dummy code:

``` python
if APP.config.get('log_handler', None) == 'rotating_files':
    from logging.handlers import RotatingFileHandler
    handler = RotatingFileHandler('foo.log', maxBytes=10000, backupCount=1)
    handler.setLevel(APP.config.get('log_level', 'INFO')
    APP.logger.addHandler(handler)
```