Show More
@@ -144,7 +144,7 b' class VCS(object):' | |||
|
144 | 144 | |
|
145 | 145 | def _configure_locale(self): |
|
146 | 146 | if self.locale: |
|
147 |
log.info('Settings locale: `LC_ALL` to %s' |
|
|
147 | log.info('Settings locale: `LC_ALL` to %s', self.locale) | |
|
148 | 148 | else: |
|
149 | 149 | log.info( |
|
150 | 150 | 'Configuring locale subsystem based on environment variables') |
@@ -58,7 +58,7 b' class LRUDictDebug(LRUDict):' | |||
|
58 | 58 | fmt = '\n' |
|
59 | 59 | for cnt, elem in enumerate(self.keys()): |
|
60 | 60 | fmt += '%s - %s\n' % (cnt+1, safe_str(elem)) |
|
61 |
log.debug('current LRU keys (%s):%s' |
|
|
61 | log.debug('current LRU keys (%s):%s', elems_cnt, fmt) | |
|
62 | 62 | |
|
63 | 63 | def __getitem__(self, key): |
|
64 | 64 | self._report_keys() |
@@ -46,10 +46,8 b' class RequestWrapperTween(object):' | |||
|
46 | 46 | finally: |
|
47 | 47 | end = time.time() |
|
48 | 48 | |
|
49 |
log.info('IP: %s Request to path: `%s` time: %.3fs' |
|
|
50 | '127.0.0.1', | |
|
51 | safe_str(get_access_path(request)), end - start) | |
|
52 | ) | |
|
49 | log.info('IP: %s Request to path: `%s` time: %.3fs', | |
|
50 | '127.0.0.1', safe_str(get_access_path(request)), end - start) | |
|
53 | 51 | |
|
54 | 52 | return response |
|
55 | 53 |
General Comments 0
You need to be logged in to leave comments.
Login now