New submission from Nguyen Thai Binh <binhnt.m...@gmail.com>:

When logger.exception() is called in a `catch` clause, it never logs to 
sys.stderr immediately. Sometimes it only outputs when the program almost 
finishes. I don't know how to reproduce as it is occasional. Attached is the 
logging configuration for my program.

Thank you.

----------
components: Library (Lib)
files: logger.py
messages: 390404
nosy: MunchDev
priority: normal
severity: normal
status: open
title: StreamHandler does not print to sys.stderr immediately
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file49937/logger.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43759>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to