From 60291023279dad1d98b3be16c6b32740843ea165 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 29 Jun 2020 22:39:26 +1000 Subject: [PATCH] Log to stdout instead of stderr --- common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.py b/common.py index 8b05719..cd4c266 100644 --- a/common.py +++ b/common.py @@ -11,6 +11,7 @@ import requests_cache import shutil import signal import subprocess +import sys import time import urllib.parse @@ -26,6 +27,7 @@ except ImportError: logging.basicConfig( format = "%(levelname)s %(message)s", level = logging.INFO if os.environ.get("DEBUG", None) is None else logging.DEBUG, + stream = sys.stdout, ) CACHE_FILE = os.path.join( -- 2.39.2