Skip to content
Snippets Groups Projects
Commit cbbeaf08 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Suppress some tornado logging

parent e63392a6
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,8 @@ def main(): ...@@ -20,7 +20,8 @@ def main():
ap.add_argument('--port-file', help="File to write port number into") ap.add_argument('--port-file', help="File to write port number into")
args = ap.parse_args() args = ap.parse_args()
logging.basicConfig(level=logging.DEBUG if args.debug else logging.INFO) logging.basicConfig(level=logging.DEBUG if args.debug else logging.INFO)
# Suppress tornado's access logging when things are working correctly:
logging.getLogger("tornado.access").setLevel(logging.WARNING)
calcat_cfg = restful_config.get('calcat', {}) calcat_cfg = restful_config.get('calcat', {})
api_url = calcat_cfg.get('base-api-url', 'http://exflcalproxy:8080/api').rstrip('/') api_url = calcat_cfg.get('base-api-url', 'http://exflcalproxy:8080/api').rstrip('/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment