Merge "Silence swiftclient logging"

This commit is contained in:
Jenkins 2016-07-29 06:42:31 +00:00 committed by Gerrit Code Review
commit 8be640e689
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@
import datetime
import email.utils
import hashlib
import logging
import random
import time
@ -32,6 +33,11 @@ MAX_EPOCH = 2147483647
CLIENT_NAME = 'swift'
# silence the swiftclient logging
sc_logger = logging.getLogger("swiftclient")
sc_logger.setLevel(logging.CRITICAL)
class SwiftClientPlugin(client_plugin.ClientPlugin):
exceptions_module = exceptions