diff options
author | Mads Kiilerich <madski@unity3d.com> | 2013-01-02 13:54:31 +0100 |
---|---|---|
committer | Mads Kiilerich <madski@unity3d.com> | 2013-01-02 13:54:31 +0100 |
commit | 51a49e1dfe1c825a30ad4a1ecf29f8350388e68c (patch) | |
tree | 88ab6b79aeebee931a6a43755211feec7542057d | |
parent | 775fdadfcedd0dfd2ad067eefdfdd81020caa7a7 (diff) |
logging: clarify logging of db logging
It said that a user was added ... which wasn't true.
--HG--
branch : beta
-rw-r--r-- | rhodecode/lib/utils.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py index 3e75587b..435a06fc 100644 --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -162,10 +162,8 @@ def action_logger(user, action, repo, ipaddr='', sa=None, commit=False): 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: |