You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/25 13:58:19 UTC

[GitHub] [beam] Abacn commented on a diff in pull request #22273: Downgrade less informative logs during write to files

Abacn commented on code in PR #22273:
URL: https://github.com/apache/beam/pull/22273#discussion_r928917372


##########
sdks/python/apache_beam/io/aws/s3io.py:
##########
@@ -157,8 +157,9 @@ def list_prefix(self, path, with_metadata=False):
       else:
         break
 
-    logging.info(
-        "Finished listing %s files in %s seconds.",
+    logging.log(
+        # do not spam logs when list_prefix is likely used to check empty folder
+        logging.INFO if counter > 0 else logging.DEBUG,

Review Comment:
   my bad. Fixing it, will double check changes



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org