Hi Pierce Lopez, thanks for your reply,
follow your link, i can see some log message in the centos command-line console like this:
/web_app/my_test.py:12 RuntimeWarning: coroutine 'TestErr.test' was never awaited
self.test()
But, when i add a TimedRotatingFileHandler to the asyncio log object, and set the log level to DEBUG, I can not see that log message in log file, instead, just some lines like this:
[2020-02-04 12:33:29,590] - [DEBUG]: Using selector: EpollSelector
i try a lot ,but still can't achieve it
can anyone give me some advice??? that will be appreciated !
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
在 2020年2月3日星期一 UTC+8下午9:19:58,Pierce Lopez写道: