mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
fix encoding
This commit is contained in:
parent
beae8ee83e
commit
d26bf4dc97
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class RadiusdHandler(logging.Handler):
|
||||||
rad_sig = radiusd.L_INFO
|
rad_sig = radiusd.L_INFO
|
||||||
else:
|
else:
|
||||||
rad_sig = radiusd.L_DBG
|
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é)
|
# Initialisation d'un logger (pour logguer unifié)
|
||||||
|
|
Loading…
Reference in a new issue