454c23b0e1
When do Centos 7.5 upgraded, some patches didn't resolve and cause the fuzzy in the line numbers of the patches. And it may cause .orig file is created when do patch. And this .orig file will lead to rpm packaging failure due to the unexpected and unpackaged .orig file. Please visit below link to get more detail info: https://bugs.launchpad.net/starlingx/+bug/1794611 Solution: Safest solution is to de-fuzz our patches. Story: 2003389 Task: 26755 Change-Id: Iad4c16a87e3f41c310368ace2a57ea7692f10070 Signed-off-by: slin14 <shuicheng.lin@intel.com>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 07bc9cce658f77307167398f3e555b1b50cf8caf Mon Sep 17 00:00:00 2001
|
|
From: Kam Nasim <kam.nasim@windriver.com>
|
|
Date: Tue, 3 Jan 2017 13:09:29 -0500
|
|
Subject: change ClientSideError logging verbosity
|
|
|
|
Regression introduced in 16.10. Reverts the following
|
|
upstream commit since WSME is used by SysInv-api to return ClientSideErrors,
|
|
and in the case of CLI commands, no log history for such errors would be
|
|
available.
|
|
|
|
Reverting commit 94cd1751c7b028898a38fda0689cfce15e2a96e2
|
|
|
|
Author: Chris Dent <chdent@redhat.com>
|
|
Date: Thu Apr 9 14:04:32 2015 +0100
|
|
|
|
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.
|
|
---
|
|
wsme/api.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/wsme/api.py b/wsme/api.py
|
|
index e5fe7c6..4c4c7ad 100644
|
|
--- a/wsme/api.py
|
|
+++ b/wsme/api.py
|
|
@@ -219,7 +219,7 @@ def format_exception(excinfo, debug=False):
|
|
else six.text_type(error))
|
|
r = dict(faultcode="Client",
|
|
faultstring=faultstring)
|
|
- log.debug("Client-side error: %s" % r['faultstring'])
|
|
+ log.warning("Client-side error: %s" % r['faultstring'])
|
|
r['debuginfo'] = None
|
|
return r
|
|
else:
|
|
--
|
|
2.7.4
|
|
|