Top-rated recipes tagged "configuration" but not "python" and "xml"http://code.activestate.com/recipes/tags/configuration-python-xml/top/2015-10-28T23:16:26-07:00ActiveState Code RecipesSet the logging level to every logger (Python)
2015-10-28T23:16:26-07:00Tim McNamarahttp://code.activestate.com/recipes/users/4193044/http://code.activestate.com/recipes/579119-set-the-logging-level-to-every-logger/
<p style="color: grey">
Python
recipe 579119
by <a href="/recipes/users/4193044/">Tim McNamara</a>
(<a href="/recipes/tags/configuration/">configuration</a>, <a href="/recipes/tags/logging/">logging</a>).
</p>
<p>Python's logging allocates a name to every logger. That makes it hard to do something like, setting everything to <code>logging.ERROR</code>. Here's one way you might go about that:</p>