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 |
|
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