mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
Fix logging typos
This commit is contained in:
parent
7817ef5cda
commit
abc9b512f7
@ -117,7 +117,7 @@ def get_http_session_with_retry(
|
||||
if not session.verify and __disable_certificate_verification_warning < 2:
|
||||
# show warning
|
||||
__disable_certificate_verification_warning += 1
|
||||
logging.getLogger('TRAINS').warning(
|
||||
logging.getLogger('trains').warning(
|
||||
msg='InsecureRequestWarning: Certificate verification is disabled! Adding '
|
||||
'certificate verification is strongly advised. See: '
|
||||
'https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings')
|
||||
|
@ -910,7 +910,8 @@ class StorageHelper(object):
|
||||
except Exception as e:
|
||||
self._log.error("Calling upload callback when starting upload: %s" % str(e))
|
||||
if verbose:
|
||||
msg = "Starting upload: %s => %s" % (src_path, object_name)
|
||||
msg = 'Starting upload: {} => {}{}'.format(src_path, self._container.name if self._container else '',
|
||||
object_name)
|
||||
if object_name.startswith('file://') or object_name.startswith('/'):
|
||||
self._log.debug(msg)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user