From 1eb2269a5ecc49df7909dd21aa886b82c91ee85b Mon Sep 17 00:00:00 2001 From: Patrik Dufresne Date: Wed, 4 Apr 2018 16:08:54 -0400 Subject: [PATCH] Adjust logging level in filter_authentication. --- rdiffweb/filter_authentication.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rdiffweb/filter_authentication.py b/rdiffweb/filter_authentication.py index f34da8b3..32e5a50b 100644 --- a/rdiffweb/filter_authentication.py +++ b/rdiffweb/filter_authentication.py @@ -44,7 +44,7 @@ class BaseAuth(HandlerTool): def check_username_and_password(self, username, password): """Validate user credentials.""" - logger.debug("check credentials for [%s]", username) + logger.info("check credentials for [%s]", username) try: userobj = cherrypy.request.app.userdb.login(username, password) # @UndefinedVariable except: @@ -176,11 +176,11 @@ class AuthFormTool(BaseAuth): logger.warn('do_login requires POST, redirect to /') # Redirect to / instead of showing error. raise cherrypy.HTTPRedirect(b'/') - logger.info('routing %(path)r to do_login', locals()) + logger.debug('routing %(path)r to do_login', locals()) return self.do_login(**request.params) elif path.startswith(native_str('/logout')): - logger.info('routing %(path)r to do_logout', locals()) + logger.debug('routing %(path)r to do_logout', locals()) return self.do_logout(**request.params) # No special path, validate session. -- GitLab