Mercurial > kallithea
changeset 3545:e2fad0c6b19a beta
better logging
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 18 Mar 2013 18:20:46 +0100 |
parents | c0a157ab9a15 |
children | c5efdafee8fe |
files | rhodecode/lib/utils.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Mon Mar 18 18:18:10 2013 +0100 +++ b/rhodecode/lib/utils.py Mon Mar 18 18:20:46 2013 +0100 @@ -162,8 +162,8 @@ 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: