Use RLock in logging

This commit is contained in:
Mark Qvist 2026-11-12 11:13:17 +01:00
parent 0bc5c37c39
commit 9ef6c90ea6
No known key found for this signature in database

View file

@ -87,7 +87,7 @@ instance_random.seed(os.urandom(10))
_always_override_destination = False
logging_lock = threading.Lock()
logging_lock = threading.RLock()
def loglevelname(level):
if (level == LOG_CRITICAL): return "[Critical]"