• Uncategorized

About python : Dose-python-reportlab-has-debug-log

Question Detail

I get issue about trigger SimpleDocTemplate.build() it will hang long time. I check the memory and cpu usage, there is nothing wrong. And I can’t reproduce the problem in another server. So i want to get some debug log about reportlab to know the location where cause the long hang time. How can i get the debug log about reportlab?

Question Answer

Try this :

logging.basicConfig(level=logging.DEBUG)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.