You are right that behavior isn't documented and might be a bug. You could report it.<br><br>Bye <br><br><div class="gmail_quote">El 19 de mayo de 2011 00:42, Ian Kelly <span dir="ltr"><<a href="mailto:ian.g.kelly@gmail.com">ian.g.kelly@gmail.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">2011/5/18 Ian Kelly <<a href="mailto:ian.g.kelly@gmail.com">ian.g.kelly@gmail.com</a>>:<br>

<div class="im">> Ah, that's it.  I was using Python 2.5.  Using 2.7 I get the same<br>
> result that you do.<br>
><br>
> Still, it's a surprising change that doesn't seem to be documented as<br>
> such.  I'm not sure whether it's a regression or an intentional<br>
> change.<br>
<br>
</div>I was wrong, it's more complicated than that.<br>
<br>
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit<br>
(Intel)] on win32<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
<div class="im">>>> import logging<br>
>>> logging.getLogger('log').warning('test')<br>
</div><div class="im">No handlers could be found for logger "log"<br>
</div>>>> logging.warning('test')<br>
WARNING:root:test<br>
<div class="im">>>> logging.getLogger('log').warning('test')<br>
</div>WARNING:log:test<br>
<br>
Apparently, getLogger() is unconfigured by default, but if you just<br>
use the root logger once, then they magically get configured.<br>
</blockquote></div><br>