How to prevent logging warning?

Thomas Heller theller at python.net
Wed Oct 5 14:18:58 CEST 2005


I'm about to add some logging calls to a library I have.  How can I
prevent that the script that uses the library prints
'No handlers could be found for logger "comtypes.client"' when the
script runs?

I would like to setup the logging so that there is no logging when
nothing is configured, and no warning messages are printed.

Thomas



More information about the Python-list mailing list