Could be related to this: https://docs.python.org/3.12/library/logging.handlers.html#logging.handlers.QueueListener
class logging.handlers.QueueListener(queue, *handlers, respect_handler_level=False) By default, respect_handler_level is set to False.
"If respect_handler_level is True, a handler’s level is respected (compared with the level for the message) when deciding whether to pass messages to that handler; otherwise, the behaviour is as in previous Python versions - to always pass each message to each handler."