Repository: libcloud Updated Branches: refs/heads/trunk 4ba3f8d90 -> 622e2597a
Fix a bug / regression with Libcloud accidentaly setting paramiko root logger level to DEBUG (this should only happen if LIBCLOUD_DEBUG environment variable) is provided. Part of LIBCLOUD-765, reported by John Bresnahan. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a64678aa Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a64678aa Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a64678aa Branch: refs/heads/trunk Commit: a64678aa875d0d1966ce7b0748782eb2d34b4f7c Parents: 33b96f8 Author: Tomaz Muraus <[email protected]> Authored: Fri Nov 6 18:58:05 2015 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Fri Nov 6 18:58:05 2015 +0100 ---------------------------------------------------------------------- CHANGES.rst | 8 ++++++++ libcloud/__init__.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/a64678aa/CHANGES.rst ---------------------------------------------------------------------- diff --git a/CHANGES.rst b/CHANGES.rst index 08a0d2e..a72ef62 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -7,6 +7,14 @@ Changes with Apache Libcloud in development General ~~~~~~~ +- Fix a bug with Libcloud accidentally setting paramiko root logger level to + DEBUG (this should only happen if ``LIBCLOUD_DEBUG`` environment variable is + provided). + + Reported by John Bresnahan. + (LIBCLOUD-765) + [Tomaz Muraus, John Bresnahan] + Compute ~~~~~~~ http://git-wip-us.apache.org/repos/asf/libcloud/blob/a64678aa/libcloud/__init__.py ---------------------------------------------------------------------- diff --git a/libcloud/__init__.py b/libcloud/__init__.py index 3b690ea..9094a21 100644 --- a/libcloud/__init__.py +++ b/libcloud/__init__.py @@ -71,7 +71,7 @@ def _init_once(): fo = codecs.open(path, mode, encoding='utf8') enable_debug(fo) - if have_paramiko: - paramiko.common.logging.basicConfig(level=paramiko.common.DEBUG) + if have_paramiko: + paramiko.common.logging.basicConfig(level=paramiko.common.DEBUG) _init_once()
