@@ -185,8 +185,8 @@ def get_paginated_results(
185185 if extensions :
186186 ext_filter = " or " .join ([f"fileExtension = '{ e } '" for e in extensions ])
187187 q = f"{ q } and ({ ext_filter } or mimeType = 'application/vnd.google-apps.folder')"
188- logger .info (f"Query used when indexing: { q } " )
189- logger .info ("response fields limited to: {}" .format (", " .join (self .fields )))
188+ logger .debug (f"Query used when indexing: { q } " )
189+ logger .debug ("response fields limited to: {}" .format (", " .join (self .fields )))
190190 done = False
191191 page_token = None
192192 files_response = []
@@ -297,7 +297,7 @@ def is_float(value: str):
297297 def _write_file (self , file_data : FileData , file_contents : io .BytesIO ):
298298 download_path = self .get_download_path (file_data = file_data )
299299 download_path .parent .mkdir (parents = True , exist_ok = True )
300- logger .info (f"writing { file_data .source_identifiers .fullpath } to { download_path } " )
300+ logger .debug (f"writing { file_data .source_identifiers .fullpath } to { download_path } " )
301301 with open (download_path , "wb" ) as handler :
302302 handler .write (file_contents .getbuffer ())
303303 if (
@@ -315,7 +315,7 @@ def _write_file(self, file_data: FileData, file_contents: io.BytesIO):
315315 def run (self , file_data : FileData , ** kwargs : Any ) -> download_responses :
316316 from googleapiclient .http import MediaIoBaseDownload
317317
318- logger .info (f"fetching file: { file_data .source_identifiers .fullpath } " )
318+ logger .debug (f"fetching file: { file_data .source_identifiers .fullpath } " )
319319 mime_type = file_data .additional_metadata ["mimeType" ]
320320 record_id = file_data .identifier
321321 files_client = self .connection_config .get_files_service ()
0 commit comments