8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-12 12:56:26 +00:00

fix encoding

This commit is contained in:
Hugo LEVY-FALK 2019-01-23 21:02:35 +01:00
parent beae8ee83e
commit d26bf4dc97

View file

@ -76,7 +76,7 @@ class RadiusdHandler(logging.Handler):
rad_sig = radiusd.L_INFO
else:
rad_sig = radiusd.L_DBG
radiusd.radlog(rad_sig, record.msg)
radiusd.radlog(rad_sig, record.msg.encode('utf-8'))
# Initialisation d'un logger (pour logguer unifié)