From ec3188dbac2a4d4b1dd23b231a20ac14c9a72305 Mon Sep 17 00:00:00 2001 From: Ulu Kagan Boelek Date: Mon, 26 Aug 2024 15:30:31 +0200 Subject: [PATCH] debug log added --- .../src/happtiq_commons_google_cloud/gcs_api_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/happtiq_commons_google_cloud/src/happtiq_commons_google_cloud/gcs_api_service.py b/packages/happtiq_commons_google_cloud/src/happtiq_commons_google_cloud/gcs_api_service.py index 3bfd75d..fa89619 100644 --- a/packages/happtiq_commons_google_cloud/src/happtiq_commons_google_cloud/gcs_api_service.py +++ b/packages/happtiq_commons_google_cloud/src/happtiq_commons_google_cloud/gcs_api_service.py @@ -39,7 +39,8 @@ def upload_file(self, file_path: bytes, bucket_name: str, destination: str, con return f"gs://{bucket_name}/{destination}" def list_files_with_prefix(self, bucket_name: str, prefix: str): - self.logger.info(f"Listing files in bucket {bucket_name} with prefix {prefix}") + self.logger.debug(f"Files in bucket {bucket_name} with prefix {prefix}") + self.logger.info(f"found {len(file_list)} files in bucket {bucket_name} with prefix {prefix}: {file_list}") bucket = self.client.bucket(bucket_name) blobs = bucket.list_blobs(prefix=prefix)