Show More
@@ -15,7 +15,7 b' from pylons.templating import render_mak' | |||
|
15 | 15 | |
|
16 | 16 | from rhodecode import __version__, BACKENDS |
|
17 | 17 | |
|
18 | from rhodecode.lib import str2bool | |
|
18 | from rhodecode.lib import str2bool, safe_unicode | |
|
19 | 19 | from rhodecode.lib.auth import AuthUser, get_container_username, authfunc,\ |
|
20 | 20 | HasPermissionAnyMiddleware |
|
21 | 21 | from rhodecode.lib.utils import get_repo_slug, invalidate_cache |
@@ -147,12 +147,14 b' class BaseController(WSGIController):' | |||
|
147 | 147 | |
|
148 | 148 | session['rhodecode_user'] = self.rhodecode_user.get_cookie_store() |
|
149 | 149 | session.save() |
|
150 |
log.info('User: %s accessed %s' % ( |
|
|
151 |
|
|
|
150 | log.info('User: %s accessed %s' % ( | |
|
151 | auth_user, safe_unicode(environ.get('PATH_INFO'))) | |
|
152 | ) | |
|
152 | 153 | return WSGIController.__call__(self, environ, start_response) |
|
153 | 154 | finally: |
|
154 |
log.info('Request to %s time: %.3fs' % ( |
|
|
155 | time.time() - start)) | |
|
155 | log.info('Request to %s time: %.3fs' % ( | |
|
156 | safe_unicode(environ.get('PATH_INFO')), time.time() - start) | |
|
157 | ) | |
|
156 | 158 | meta.Session.remove() |
|
157 | 159 | |
|
158 | 160 |
General Comments 0
You need to be logged in to leave comments.
Login now