By using app.before_first_request, *really* only set up logging when debug is off