In fact, my logger will not catch any exception.
1. When I configure the logging, *the exception is not logged* when the
program terminates, and *the uncatched exception won't be printed on the
screen*
2. When I don't configure the logging system,* the exception is still
not log
Hi,
I think that when you configure the logging, the exception is logged when
the program terminates as the exception was never retrieved explicitly.
When you don't configure the logging system, the exception is still logged,
but not printed as the logger is not told to do so.
wait() returns a pa
# python >= 3.5.0
import asyncio
import time
from os.path import exists
import logging
import logging.config
conf = '''
[loggers]
keys=root
[logger_root]
level=DEBUG
handlers=hand01
[handlers]
keys=hand01
[handler_hand01]
class=StreamHandler
args=(sys.stdout,)
formatter=form01
[formatters]