Apr-08-2019, 02:22 PM
I had some problems with logging
According to The Doc
in the same Python interpreter, you get the same logger object with the same config
But if that's true, why can't my code work
https://gist.github.com/isjerryxiao/b6ff...c011ae7a7a
Actually I was trying to make traceback look prettier in log files.
my test environment:
Python 3.7.3 (default, Mar 26 2019, 21:43:19)
[GCC 8.2.1 20181127] on linux
According to The Doc
in the same Python interpreter, you get the same logger object with the same config
But if that's true, why can't my code work
https://gist.github.com/isjerryxiao/b6ff...c011ae7a7a
Actually I was trying to make traceback look prettier in log files.
my test environment:
Python 3.7.3 (default, Mar 26 2019, 21:43:19)
[GCC 8.2.1 20181127] on linux