# HG changeset patch # User Mads Kiilerich # Date 1623320732 -7200 # Node ID 98cbebff6afc78319900d295f93c7ab0e1544156 # Parent 8993d401575bad2d085158738b09e0bd02c7f135 auth: tweak log statements when redirecting unauthenticated users to login Warning level was too verbose. diff -r 8993d401575b -r 98cbebff6afc kallithea/lib/auth.py --- a/kallithea/lib/auth.py Mon Feb 07 19:07:08 2022 +0100 +++ b/kallithea/lib/auth.py Thu Jun 10 12:25:32 2021 +0200 @@ -521,9 +521,9 @@ if self.allow_default_user: log.info('default user @ %s', loc) return func(*fargs, **fkwargs) - log.info('default user is not accepted here @ %s', loc) + log.info('default user is redirected to login @ %s', loc) elif user.is_anonymous: # default user is disabled and no proper authentication - log.warning('user is anonymous and NOT authenticated with regular auth @ %s', loc) + log.info('anonymous user is redirected to login @ %s', loc) else: # regular authentication log.info('user %s authenticated with regular auth @ %s', user, loc) return func(*fargs, **fkwargs)