import json
import logging.config

from flask import Flask

from growser.services.bigquery import BigQueryService


app = Flask(__name__, template_folder="../templates", static_folder="../static")
app.config.from_object('growser.config.BasicConfig')
app.config.from_envvar('GROWSER_CONFIG', False)
app.debug = True

with open(app.config.get('GOOGLE_CLIENT_KEY')) as fh:
    js = json.loads(fh.read())

bigquery = BigQueryService(app.config.get('GOOGLE_PROJECT_ID'),
                           js['client_email'],
                           bytes(js['private_key'], 'UTF-8'))


app.logger.name  # Need to call Flask log to initialize lazy property
logging.config.fileConfig("logging.cfg")

@@ -307,11 +307,12 @@
 g = 
-Tru
+Fals
 e%0A%0Aw
@@ -602,50 +602,56 @@
  to 
-call Flask log to initialize lazy property
+initialize Flask logger before we can clobber it
 %0Alog

Disable debug