X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/85bd5f3272cfc8ba8e54f4f47ea9865d7de62779..8f987a9271eda80697b3a8fc53e7ebb0f93816f9:/sdk/python/arvados/commands/put.py diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py index b357bc94b8..ec4ae8fb6f 100644 --- a/sdk/python/arvados/commands/put.py +++ b/sdk/python/arvados/commands/put.py @@ -195,7 +195,7 @@ total data size). _group.add_argument('--silent', action='store_true', help=""" -Do not produce any output unless an error happens. +Do not print any debug messages to console. (Any error messages will still be displayed.) """) _group = run_opts.add_mutually_exclusive_group() @@ -710,6 +710,7 @@ class ArvPutUploadJob(object): elif file_in_local_collection.permission_expired(): # Permission token expired, re-upload file. This will change whenever # we have a API for refreshing tokens. + self.logger.warning("Uploaded file '{}' access token expired, will re-upload it from scratch".format(filename)) should_upload = True self._local_collection.remove(filename) elif cached_file_data['size'] == file_in_local_collection.size():