summaryrefslogtreecommitdiff
path: root/heatclient/shell.py
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@redhat.com>2013-01-25 12:03:01 +1100
committerAngus Salkeld <asalkeld@redhat.com>2013-01-25 12:03:01 +1100
commit8f268e44cdc8b8a434aa510a1c389793a1ea2872 (patch)
treeef961de5a3ca57294263d7c3f1f3199dbd62015b /heatclient/shell.py
parent7f50a72aacd9e48ef682037ab11f372a52cc838a (diff)
downloadpython-heatclient-8f268e44cdc8b8a434aa510a1c389793a1ea2872.tar.gz
Don't log at all if debugging is not turned on
Else the http module prints this out on each command - yuk "INFO Starting new HTTP connection (1): 127.0.0.1" Change-Id: I6e8900106051914b7ddc0a216c6a7864f4ea38e0
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r--heatclient/shell.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py
index cf04875..bd58842 100644
--- a/heatclient/shell.py
+++ b/heatclient/shell.py
@@ -229,10 +229,6 @@ class HeatShell(object):
level=logging.DEBUG)
httplib2.debuglevel = 1
- else:
- logging.basicConfig(
- format="%(levelname)s %(message)s",
- level=logging.INFO)
def main(self, argv):
# Parse args once to find version