Skip to content

Commit 098a097

Browse files
move ping log
1 parent 347c7c8 commit 098a097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectors/sources/s3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ async def ping(self):
244244
"""Verify the connection with AWS"""
245245
try:
246246
await self.s3_client.fetch_buckets()
247-
self._logger.debug("Successfully connected to AWS.")
248247
except Exception:
249248
self._logger.warning(
250249
"Error while connecting to AWS. Please check the configurations"
@@ -304,6 +303,7 @@ async def get_docs(self, filtering=None):
304303
Yields:
305304
dictionary: Document from Amazon S3.
306305
"""
306+
self._logger.info("Successfully connected to AWS.")
307307
if filtering and filtering.has_advanced_rules():
308308
self._logger.info(
309309
f"Advanced sync rules for S3 are configured: {filtering.get_advanced_rules()}"

0 commit comments

Comments
 (0)