From d0110b40996b60df672dc8c3490d681ecf8ff550 Mon Sep 17 00:00:00 2001 From: Robert Izzard <r.izzard@surrey.ac.uk> Date: Tue, 9 Nov 2021 14:16:47 +0000 Subject: [PATCH] change process debugging to use stdout --- binarycpython/utils/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index e49e3a50d..152a76610 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -1369,7 +1369,7 @@ class Population: stream_logger = logging.getLogger("stream_logger") stream_logger.handlers = [] stream_logger.setLevel(level) - sh = logging.StreamHandler() + sh = logging.StreamHandler(stream=sys.stdout) sh.setLevel(level) fmt = "[%(asctime)s %(levelname)-8s %(processName)s] --- %(message)s" formatter = logging.Formatter(fmt) -- GitLab