A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111351.html below:

[Python-Dev] Problems with regrtest and with logging

[Python-Dev] Problems with regrtest and with logging [Python-Dev] Problems with regrtest and with loggingÉric Araujo merwok at netwok.org
Wed May 11 18:39:21 CEST 2011
 Hi,

> That's right, though it's OK to provide a documented convenience API 
> for adding
> handlers.

 I think I’ll aim for simplicity.  We’ll document that we use the logger 
 “packaging” throughout and let people use getLogger and  addHandler with 
 that.

> You don't necessarily need to set the level on the handler - why can 
> you not
> just set it on the logger? The effect would often be the same: the 
> logger's
> level is checked first, and then the handler's level.

 I thought that if we set the level on the logger, we would prevent 
 third-party code to get some messages.  E.g., we set level to INFO but 
 pip uses some packaging functions and would like to get DEBUG messages.

 Regards
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4