Skip to content

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Sep 28, 2018
1 parent 2ce2a22 commit 1b85c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions ckan/cli/__init__.py
Expand Up @@ -13,8 +13,9 @@
from ckan.config.middleware import make_app


log = logging.getLogger('werkzeug')
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(message)s')
log = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(levelname)s [%(name)s] %(message)s')


click_config_option = click.option(
Expand Down
3 changes: 0 additions & 3 deletions ckan/config/middleware/flask_app.py
Expand Up @@ -111,7 +111,6 @@ def make_flask_stack(conf, **app_conf):
app = DebuggedApplication(app, True)
app = app.app


# Use Beaker as the Flask session interface
class BeakerSessionInterface(SessionInterface):
def open_session(self, app, request):
Expand Down Expand Up @@ -270,8 +269,6 @@ def hello_world_post():

# Add a reference to the actual Flask app so it's easier to access
app._wsgi_app = flask_app
app.logger.propagate = True
# app.logger.propagate = True

return app

Expand Down

0 comments on commit 1b85c23

Please sign in to comment.