# HG changeset patch # User Thomas De Schampheleire # Date 2018-05-16 21:19:56 # Node ID 4c4e1ec26e959e64d5747d0fcd7c4dc93b5c1320 # Parent 0cf121eae2feb841122a1dd1446207b523e93243 auth: raise log level of 'permission denied' from DEBUG to INFO (issue #243) Denying an access can be quite relevant to an administrator. A log level of INFO is more reasonable than DEBUG. diff --git a/kallithea/lib/auth.py b/kallithea/lib/auth.py --- a/kallithea/lib/auth.py +++ b/kallithea/lib/auth.py @@ -860,7 +860,7 @@ class _PermsDecorator(object): return func(*fargs, **fkwargs) else: - log.debug('Permission denied for %s %s', cls, user) + log.info('Permission denied for %s %s', cls, user) if user.is_default_user: raise _redirect_to_login(_('You need to be signed in to view this page')) else: