Logging HOWTO — Python 3.10.7 documentation
which is hopefully what you were expecting to see. You can generalize this to multiple modules, using the pattern in mylib.py.Note that for this simple usage pattern, you won’t know, by looking in the log file, where in your application your messages came from, apart from looking at the event description. If you want to track the location of your messages, you’ll need to refer to the ...
DA: 37 PA: 83 MOZ Rank: 51