To be honest, I dont know any Japanese, but still I found this channel very useful for some library
@thomasluk43192 жыл бұрын
Question: Let say I would like to store 2 [INFO] output separately into 2 log files log1.txt and log2.txt. How can I create more than one logger?
@pythonvtuber99172 жыл бұрын
Thank you for commenting! I suggest creating two loggers. ▶︎ stackoverflow.com/questions/39718895/python-multiple-logger-for-multiple-modules
@thomasluk43192 жыл бұрын
@@pythonvtuber9917 Thanks for your reply. "Multiple calls to getLogger() with the same name will return a reference to the same logger object" according to this, means I have to create a new object by assign a new name in getlogger