# HG changeset patch # User Marcin Kuzminski # Date 2013-03-18 17:20:46 # Node ID e2fad0c6b19a53d0f5dc095e2fff16f987d03748 # Parent c0a157ab9a15d4d82b2ac3aa9279cbf4bc0808dc better logging diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -162,8 +162,8 @@ def action_logger(user, action, repo, ip user_log.user_ip = ipaddr sa.add(user_log) - log.info('Logging action %s on %s by %s' % - (action, safe_unicode(repo), user_obj)) + log.info('Logging action:%s on %s by user:%s ip:%s' % + (action, safe_unicode(repo), user_obj, ipaddr)) if commit: sa.commit() except: