Merge "Set paramiko logging to DEBUG level" into stable/queens
This commit is contained in:
commit
2049332391
|
@ -54,6 +54,8 @@ from manila.i18n import _
|
|||
|
||||
CONF = cfg.CONF
|
||||
LOG = log.getLogger(__name__)
|
||||
if hasattr('CONF', 'debug') and CONF.debug:
|
||||
logging.getLogger("paramiko").setLevel(logging.DEBUG)
|
||||
|
||||
_ISO8601_TIME_FORMAT_SUBSECOND = '%Y-%m-%dT%H:%M:%S.%f'
|
||||
_ISO8601_TIME_FORMAT = '%Y-%m-%dT%H:%M:%S'
|
||||
|
|
Loading…
Reference in New Issue