Remove unicode character in favor of plain ->

This is still causing problems in all fresh deployments we are doing. I am fine with another solution, but at least wanted to proposed this as a fix for now.
This commit is contained in:
Brian E. Granger
2018-01-18 12:31:17 -08:00
committed by GitHub
parent cea1b2fd4d
commit 9f85209a1b

View File

@@ -120,6 +120,6 @@ def log_request(handler):
# to get headers from tornado # to get headers from tornado
location = handler._headers.get('Location') location = handler._headers.get('Location')
if location: if location:
ns['location'] = ' {}'.format(location) ns['location'] = ' -> {}'.format(location)
log_method(msg.format(**ns)) log_method(msg.format(**ns))
prometheus_log_method(handler) prometheus_log_method(handler)