diff --git a/configs/gunicorn_config.py b/configs/gunicorn_config.py --- a/configs/gunicorn_config.py +++ b/configs/gunicorn_config.py @@ -333,7 +333,7 @@ class RhodeCodeLogger(Logger): def now(self): """ return date in RhodeCode Log format """ now = time.time() - msecs = int((now - long(now)) * 1000) + msecs = int((now - int(now)) * 1000) return time.strftime(self.datefmt, time.localtime(now)) + '.{0:03d}'.format(msecs) def atoms(self, resp, req, environ, request_time):