Tune logging level for swift chunks

Change-Id: Ifca7686a37b45ae9d34ca8b2417a5258e5e14cdc
This commit is contained in:
Pierre-Arthur MATHIEU 2017-03-01 16:57:42 +00:00 committed by Pierre Mathieu
parent 9bddd2927c
commit a1d56510b8
1 changed files with 2 additions and 2 deletions

View File

@ -84,13 +84,13 @@ class SwiftStorage(physical.PhysicalStorage):
split = path.rsplit('/', 1) split = path.rsplit('/', 1)
while not success: while not success:
try: try:
LOG.info( LOG.debug(
'Uploading file chunk index: {0}'.format(path)) 'Uploading file chunk index: {0}'.format(path))
self.swift().put_object( self.swift().put_object(
split[0], split[1], content, split[0], split[1], content,
content_type='application/octet-stream', content_type='application/octet-stream',
content_length=len(content)) content_length=len(content))
LOG.info('Data successfully uploaded!') LOG.debug('Data successfully uploaded!')
success = True success = True
except Exception as error: except Exception as error:
LOG.info( LOG.info(