From 94cd1751c7b028898a38fda0689cfce15e2a96e2 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Thu, 9 Apr 2015 14:04:32 +0100 Subject: [PATCH] Change client-side error logging to debug A client-side error (that is something akin to a 4xx HTTP response code) is something that is common, it is not something that should cause WARNING level log messages. This change switches to using DEBUG so that it is easier to filter out the noisy messages. Change-Id: I0ce0c7afa883612fd8a184b4244991f1e2a0e19d --- wsme/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsme/api.py b/wsme/api.py index 2321d97..b9347bc 100644 --- a/wsme/api.py +++ b/wsme/api.py @@ -209,7 +209,7 @@ def format_exception(excinfo, debug=False): else str(error) r = dict(faultcode="Client", faultstring=faultstring) - log.warning("Client-side error: %s" % r['faultstring']) + log.debug("Client-side error: %s" % r['faultstring']) r['debuginfo'] = None return r else: