Commit 370e228d authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Merge branch 'feature-s/3055-fix_log_encoding' into 'dev'

Feature s/3055 fix log encoding

Closes #3055

See merge request !175
parents 514a53fc d7e3bd0f
Pipeline #19770 passed with stages
in 52 seconds
......@@ -313,7 +313,7 @@ class MsgUserAdapter(logging.LoggerAdapter):
usern = usern.replace(' ','-')
if auth.is_impersonating():
usern = 'team!' + usern
new_msg = '%30s %12s %s' % (ip, ('<%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