Easy way to find "not enough arguments..." in python logging library.

Posted by Piotr Czapla on Stack Overflow See other posts from Stack Overflow or by Piotr Czapla
Published on 2010-03-19T14:15:17Z Indexed on 2010/03/19 14:31 UTC
Read the original article Hit count: 139

Filed under:
|

Do you know any easy way to find a logging call that throws "not enough argumenst for format string". On my workstation I've modified logging/__init__.py to print the msg so I can easily find the line in the source.

But do you have any idea what to do on the testing environment where you can't change python standard library nor run pdb easily?

© Stack Overflow or respective owner

Related posts about python

Related posts about debugging