We have an application developed using Tryton 4.6.
Recently we tried it in Tryton 5.0 and discovered strange logging behavior.
Namely, strings that contain Unicode characters simply disappear in logs.
But there are no any error messages, these strings disappear “silently”.
For example, such string gets into the log:
But such string does not get into the log:
logger.info('мама') # u'\u043c\u0430\u043c\u0430'
Unicode strings were logging normally in Tryton 4.6 + Python 2.7 environment.
There is no problem with logging of these strings in Python 3.6 without Tryton.
Why are Unicode strings not logging in Tryton 5.0 + Python 3.6 environment?