@@ -125,11 +125,11 @@ async def upload_file_async(
125
125
configuration = self .api_client .configuration , timeout = timeout_seconds
126
126
) as session :
127
127
with logging_redirect_tqdm ():
128
- _logger .info ("Uploading %s in %i chunk(s)" , file .name , n_urls )
128
+ _logger .debug ("Uploading %s in %i chunk(s)" , file .name , n_urls )
129
129
async for chunck , size in tqdm (
130
130
file_chunk_generator (file , chunk_size ),
131
131
total = n_urls ,
132
- disable = (not _logger .isEnabledFor (logging .INFO )),
132
+ disable = (not _logger .isEnabledFor (logging .DEBUG )),
133
133
):
134
134
index , url = next (url_iter )
135
135
uploaded_parts .append (
@@ -155,7 +155,7 @@ async def upload_file_async(
155
155
auth = self ._auth ,
156
156
timeout = timeout_seconds ,
157
157
) as session :
158
- _logger .info (
158
+ _logger .debug (
159
159
(
160
160
"Completing upload of %s "
161
161
"(this might take a couple of minutes)..."
@@ -165,7 +165,7 @@ async def upload_file_async(
165
165
server_file : File = await self ._complete_multipart_upload (
166
166
session , links .complete_upload , client_file , uploaded_parts
167
167
)
168
- _logger .info ("File upload complete: %s" , file .name )
168
+ _logger .debug ("File upload complete: %s" , file .name )
169
169
return server_file
170
170
171
171
async def _complete_multipart_upload (
0 commit comments