From f65641c44da8f16194aae1a95b58150bb09167ae Mon Sep 17 00:00:00 2001 From: Qiu Yu <qiuyu@ebaysf.com> Date: Sat, 12 Sep 2015 03:07:36 +0800 Subject: [PATCH] Suppress iso8601 logging from --debug output This change silences logging from iso8601 when --debug option set Change-Id: Ib8b8423012d43ef78d7138609fa98f40d46e7d4b Closes-bug: #1324470 --- swiftclient/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swiftclient/shell.py b/swiftclient/shell.py index 652980f3..21c4b78b 100755 --- a/swiftclient/shell.py +++ b/swiftclient/shell.py @@ -1414,6 +1414,7 @@ Examples: logging.getLogger("swiftclient") if options.debug: logging.basicConfig(level=logging.DEBUG) + logging.getLogger('iso8601').setLevel(logging.WARNING) elif options.info: logging.basicConfig(level=logging.INFO)