Is There Any Way To Configure Buffer For Logging Module In Python
I have verbose logging and it looks like it is significantly impacting the performance of my Python program. From what I've understood, it seems that by default, the Python loggin
Solution 1:
Use the MemoryHandler. It does exactly what you want. It buffers messages until some criteria are met and then sends them to another handler to be handled.
Post a Comment for "Is There Any Way To Configure Buffer For Logging Module In Python"