Commit d7e3bd0f authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson
Browse files decode rather than encode for logs

See #3055
parent 82b40ec4
Pipeline #19769 passed with stages
in 27 seconds
......@@ -313,7 +313,7 @@ class MsgUserAdapter(logging.LoggerAdapter):
usern = usern.replace(' ','-')
if auth.is_impersonating():
usern = 'team!' + usern
new_msg = u'%30s %12s %s' % (ip, (u'<%s>' % usern), msg)
new_msg = u'%30s %12s %s' % (ip, (u'<%s>' % usern.decode('utf8')), msg.decode('utf8'))
return new_msg, kwargs
def admin(self, msg):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment