diff options
author | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-22 18:24:28 +0200 |
---|---|---|
committer | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-22 18:28:23 +0200 |
commit | a69591d9c8a166a1b6cb1ee19dd1f8bae0c810c5 (patch) | |
tree | 4bc486370d008754b0e08abb1338f369993c1df3 | |
parent | 0d21d7202bae83c96a05ac1aaa025722a420ca45 (diff) |
Fixed no handler for x logger, and made flask logging work with the python basic logger so we don't miss any errors
-rw-r--r-- | service/pixelated/runserver.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/service/pixelated/runserver.py b/service/pixelated/runserver.py index 87a22fe0..995796df 100644 --- a/service/pixelated/runserver.py +++ b/service/pixelated/runserver.py @@ -28,6 +28,11 @@ import pixelated.support.ext_protobuf # monkey patch for protobuf in OSX app = Flask(__name__, static_url_path='', static_folder=app_factory.get_static_folder()) +import logging +logging.basicConfig() +logger = logging.getLogger('werkzeug') +logger.setLevel(logging.INFO) + def setup(): try: |