Mercurial > kallithea
changeset 3136:c9844213a9d8 beta
logging: clarify logging of db logging
It said that a user was added ... which wasn't true.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jan 2013 13:54:31 +0100 |
parents | e7ba69286276 |
children | 6c705abed11a |
files | rhodecode/lib/utils.py |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Wed Jan 02 13:54:26 2013 +0100 +++ b/rhodecode/lib/utils.py Wed Jan 02 13:54:31 2013 +0100 @@ -162,10 +162,8 @@ user_log.user_ip = ipaddr sa.add(user_log) - log.info( - 'Adding user %s, action %s on %s' % (user_obj, action, - safe_unicode(repo)) - ) + log.info('Logging action %s on %s by %s' % + (action, safe_unicode(repo), user_obj)) if commit: sa.commit() except: