mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Pass log.info() formatted values correctly
It should be
log.info("%s", "spam")
not
log.info("%s" % "spam")
This commit is contained in:
parent
2b7b63ae58
commit
610596c9d9
@ -324,7 +324,7 @@ class Logger(object):
|
||||
request_time))
|
||||
|
||||
try:
|
||||
self.access_log.info(self.cfg.access_log_format % safe_atoms)
|
||||
self.access_log.info(self.cfg.access_log_format, safe_atoms)
|
||||
except:
|
||||
self.error(traceback.format_exc())
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user