From 90591089c0b23d99ceb940fa914dc2aa2e22bd4a Mon Sep 17 00:00:00 2001 From: yaozengwei Date: Sat, 4 May 2024 00:30:35 +0800 Subject: [PATCH] add force=True to logging.basicConfig --- icefall/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/icefall/utils.py b/icefall/utils.py index ec6aee6d0..57467cb56 100644 --- a/icefall/utils.py +++ b/icefall/utils.py @@ -163,6 +163,7 @@ def setup_logger( format=formatter, level=level, filemode="w", + force=True, ) if use_console: console = logging.StreamHandler()