g2p / rfc6266

Content-Disposition header support for Python
GNU Lesser General Public License v3.0
41 stars 43 forks source link

Fixed incorrect call to logging.debug() that transparently adds a handle... #1

Closed ereOn closed 11 years ago

ereOn commented 11 years ago

...r to the root logger

Calling logging.debug() directly causes a logging.StreamHandler to be added to the default root logger logging.getLogger().

This has terrible consequences when one wants to keep control over the handlers of the root logger.

The proposed change fixes that issues while keeping the log output if needed.

g2p commented 11 years ago

Merged, and made a new release.

ereOn commented 11 years ago

@g2p : Awesome, thanks.