From b716502b78812af711918597135447ad66479d2f Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 1 Jul 2016 12:08:38 -0600 Subject: [PATCH] Make auth debug log less chatty It was dumping way too much data, more than I needed --- vanth/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanth/auth.py b/vanth/auth.py index dd69cff..b13676f 100644 --- a/vanth/auth.py +++ b/vanth/auth.py @@ -35,7 +35,7 @@ def logout(): return flask.redirect('/login/') def require_login(): - LOGGER.debug("Current user %s for %s", flask.session, flask.request.path) + LOGGER.debug("Current user %s", flask.session.get('user_id')) if flask.request.path == '/login/': return if not flask.session.get('user_id'):