Exclude debug for keystoneauth1
Set log level to WARNING Change-Id: I496241d7eebb89d7e473f0ca1ca76d6a54efa7af Closes-bug: #1604437
This commit is contained in:
parent
36e431f693
commit
2b2245f73f
@ -41,9 +41,10 @@ class NoDebugMessageFilter(logging.Filter):
|
|||||||
def filter(self, record):
|
def filter(self, record):
|
||||||
return not record.levelno <= logging.DEBUG
|
return not record.levelno <= logging.DEBUG
|
||||||
|
|
||||||
logging.getLogger('paramiko.transport').addFilter(NoDebugMessageFilter())
|
logging.getLogger('paramiko.transport').setLevel(logging.WARNING)
|
||||||
logging.getLogger('paramiko.hostkeys').addFilter(NoDebugMessageFilter())
|
logging.getLogger('paramiko.hostkeys').setLevel(logging.WARNING)
|
||||||
logging.getLogger('iso8601.iso8601').addFilter(NoDebugMessageFilter())
|
logging.getLogger('iso8601.iso8601').addFilter(NoDebugMessageFilter())
|
||||||
|
logging.getLogger('keystoneauth.session').setLevel(logging.WARNING)
|
||||||
|
|
||||||
|
|
||||||
def debug(logger):
|
def debug(logger):
|
||||||
|
Loading…
Reference in New Issue
Block a user