From fece65159abe5d581523108dc1fcd0be462a6f36 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 17 May 2016 11:07:01 -0600 Subject: [PATCH] Make CORS debug logs go quiet Otherwise I'm just inundated with them and I'm rarely debugging CORS --- vanth/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vanth/main.py b/vanth/main.py index fe4429f..c7760cf 100644 --- a/vanth/main.py +++ b/vanth/main.py @@ -18,6 +18,9 @@ def create_application(config): LOGGER.info("Starting up vanth version %s", vanth.version.VERSION) application = vanth.server.create_app(config) + + logging.getLogger('vanth.cors').setLevel(logging.WARNING) + return application def main():