diff --git a/lib/lokilogger.py b/lib/lokilogger.py index c94df765..9d9480ff 100644 --- a/lib/lokilogger.py +++ b/lib/lokilogger.py @@ -14,7 +14,7 @@ import socket from helpers import removeNonAsciiDrop -__version__ = '0.28.1' +__version__ = '0.29.0' # Logger Class ----------------------------------------------------------------- class LokiLogger(): @@ -50,6 +50,9 @@ def __init__(self, no_log_file, log_file, hostname, remote_host, remote_port, cs if "windows" in platform.lower(): self.linesep = "\r\n" + reload(sys) + sys.setdefaultencoding('utf8') + # Colorization ---------------------------------------------------- init()