diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-06-11 16:25:44 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-06-11 16:22:46 -0400 |
commit | fa8071a0985700a4641ce77dac2cb2fa285d3afe (patch) | |
tree | dabbbee569c19b2196ad51ee734ad1b823e0899c /test/functional/test_framework | |
parent | 3d3d8ae3a0a93621044ab0b889bad082cc91d016 (diff) | |
download | bitcoin-fa8071a0985700a4641ce77dac2cb2fa285d3afe.tar.xz |
qa: Log as utf-8
Diffstat (limited to 'test/functional/test_framework')
-rwxr-xr-x | test/functional/test_framework/test_framework.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 75a8986793..5c2555c1ff 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -359,7 +359,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): self.log = logging.getLogger('TestFramework') self.log.setLevel(logging.DEBUG) # Create file handler to log all messages - fh = logging.FileHandler(self.options.tmpdir + '/test_framework.log') + fh = logging.FileHandler(self.options.tmpdir + '/test_framework.log', encoding='utf-8') fh.setLevel(logging.DEBUG) # Create console handler to log messages to stderr. By default this logs only error messages, but can be configured with --loglevel. ch = logging.StreamHandler(sys.stdout) |