Don't log unneccessarly on each http request
Note: logging still works with -d, this just quiets it down for the normal case. bug 1154408 Signed-off-by: Angus Salkeld <asalkeld@redhat.com> Change-Id: I0adccc8b2c83d917d2742e86fdb4b6363b398ca6
This commit is contained in:
@@ -226,10 +226,6 @@ class CeilometerShell(object):
|
|||||||
level=logging.DEBUG)
|
level=logging.DEBUG)
|
||||||
|
|
||||||
httplib2.debuglevel = 1
|
httplib2.debuglevel = 1
|
||||||
else:
|
|
||||||
logging.basicConfig(
|
|
||||||
format="%(levelname)s %(message)s",
|
|
||||||
level=logging.INFO)
|
|
||||||
|
|
||||||
def main(self, argv):
|
def main(self, argv):
|
||||||
# Parse args once to find version
|
# Parse args once to find version
|
||||||
|
|||||||
Reference in New Issue
Block a user