add force=True to logging.basicConfig (#1613)

This commit is contained in:
Zengwei Yao 2024-05-04 11:42:23 +08:00 committed by GitHub
parent 6d7c1d13a5
commit c08fe48603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,6 +163,7 @@ def setup_logger(
format=formatter,
level=level,
filemode="w",
force=True,
)
if use_console:
console = logging.StreamHandler()