##// END OF EJS Templates
better logging
marcink -
r3545:e2fad0c6 beta
parent child Browse files
Show More
@@ -162,8 +162,8 b' def action_logger(user, action, repo, ip'
162 user_log.user_ip = ipaddr
162 user_log.user_ip = ipaddr
163 sa.add(user_log)
163 sa.add(user_log)
164
164
165 log.info('Logging action %s on %s by %s' %
165 log.info('Logging action:%s on %s by user:%s ip:%s' %
166 (action, safe_unicode(repo), user_obj))
166 (action, safe_unicode(repo), user_obj, ipaddr))
167 if commit:
167 if commit:
168 sa.commit()
168 sa.commit()
169 except:
169 except:
General Comments 0
You need to be logged in to leave comments. Login now