From 870905100594bdf6c1ab37fbf7d2cd9a3fb38d4e Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Thu, 25 Jan 2018 08:11:42 +0100 Subject: [PATCH] Fix non-ascii logging Tested with UTF-8, KOI8-R and ISO-8859-2 encodings. --- src/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.py b/src/debug.py index b03e8bf9..79c6e64e 100644 --- a/src/debug.py +++ b/src/debug.py @@ -54,7 +54,7 @@ def configureLogging(): 'version': 1, 'formatters': { 'default': { - 'format': '%(asctime)s - %(levelname)s - %(message)s', + 'format': u'%(asctime)s - %(levelname)s - %(message)s', }, }, 'handlers': {