diff options
| author | Matthew Edmonds <edmondsw@us.ibm.com> | 2016-12-06 15:59:40 -0500 |
|---|---|---|
| committer | Matthew Edmonds <edmondsw@us.ibm.com> | 2016-12-06 15:59:40 -0500 |
| commit | 4b3ac9405e7fcc7a4c632ed9faef4e67d92efda3 (patch) | |
| tree | 5f32068a7731afea4cbb62bcb5a6a8c9e9dabb1b /cinderclient/api_versions.py | |
| parent | 0405d398d57630506c84cfc14cdb2ac96fdf4bfb (diff) | |
| download | python-cinderclient-4b3ac9405e7fcc7a4c632ed9faef4e67d92efda3.tar.gz | |
stop adding log handler
A StreamHandler was being setup that dumped logs to the console
regardless of the user's wishes. This removes that StreamHandler
setup so that the user can control the logging themselves.
Change-Id: I02756539a7c094153b9ec29a0ff2fecaabd44f71
Closes-Bug: #1647846
Diffstat (limited to 'cinderclient/api_versions.py')
| -rw-r--r-- | cinderclient/api_versions.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cinderclient/api_versions.py b/cinderclient/api_versions.py index 383d10f..dc76d43 100644 --- a/cinderclient/api_versions.py +++ b/cinderclient/api_versions.py @@ -24,10 +24,7 @@ from cinderclient import exceptions from cinderclient import utils from cinderclient._i18n import _ -logging.basicConfig() LOG = logging.getLogger(__name__) -if not LOG.handlers: - LOG.addHandler(logging.StreamHandler()) # key is a deprecated version and value is an alternative version. |
