<br><div class="gmail_quote">On Tue, Nov 13, 2012 at 6:00 AM, Jiang, Yunhong <span dir="ltr"><<a href="mailto:yunhong.jiang@intel.com" target="_blank">yunhong.jiang@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Doug and others:<br>
<br>
        When I debug my pollster code, I noticed that if there is bug in my pollster, I will get error information of " No handler could be found for logger "stevedore.extension", while I assume there should be a stack printed out.<br>

<br>
        Although this should be ok in production environment since stevedore.extension seems only LOG above >= warn in exception situation, but it's inconvenient in development stage.<br>
<br>
        After checking code in stevedore.extension, seems it create logger project, but without any configuration of it, thus all invocation of the logger in the exception will get error according to <a href="http://docs.python.org/2/howto/logging.html#what-happens-if-no-configuration-is-provided" target="_blank">http://docs.python.org/2/howto/logging.html#what-happens-if-no-configuration-is-provided</a><br>

<br>
        IMHO the _load_plugins() in stevestore.extension should not handle the exception, instead, the caller should do that.<br></blockquote><div><br></div><div>Is it actually an exception, or is it just the logging module reporting a warning?</div>
<div><br></div><div>In either case, I opened a bug (<a href="https://github.com/dreamhost/stevedore/issues/2">https://github.com/dreamhost/stevedore/issues/2</a>) to address this in stevedore.</div><div><br></div><div>Doug</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
--jyh<br>
</blockquote></div><br>