From 8f67c2e9d9165ab09c9ff00149da2e33e8ddfcb3 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Tue, 3 Oct 2023 21:16:53 +0200 Subject: [PATCH] Disable numba DEBUG logs --- tianshou/utils/logging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tianshou/utils/logging.py b/tianshou/utils/logging.py index e6f07f9..36e8146 100644 --- a/tianshou/utils/logging.py +++ b/tianshou/utils/logging.py @@ -45,6 +45,8 @@ def configure(format=LOG_DEFAULT_FORMAT, level=lg.DEBUG): _logFormat = format remove_log_handlers() basicConfig(level=level, format=format, stream=sys.stdout) + # set log levels of third-party libraries + getLogger("numba").setLevel(INFO) # noinspection PyShadowingBuiltins