Red Hat Bugzilla – Bug 833255
Don't configure Python's logging system implicitly
Last modified: 2012-06-27 15:00:44 EDT
Python's logging system should *never* be configured implicitly - it should always be done explicitly from __main__ (or the equivalent for web services).
Currently, pulp components are painful to use as part of a larger application (or from a utility script), as it is necessary to monkeypatch pulp to remove the implicit initialisation of the logging system  to avoid logging to the wrong location (or to a location where the current user may not even have write permissions leading to a script failing with permission errors).
I've already decoupled this in the 2.0 codebase. The entire logutil module doesn't exist anymore. Should be much more usable in anything after build .304.