amoeba commented on PR #35398:
URL: https://github.com/apache/arrow/pull/35398#issuecomment-1550517749

   Hey @thisisnic, this is ready for another look. With this refactor, you can 
turn logging on either by:
   
   ```r
   s3_bucket("my_bucket", log_level = "debug")
   # or
   S3FileSystem$create(log_level = "debug")
   ```
   
   And doing either a second time with log_level set issues a warning:
   
   > Warning message:
   > S3 is already initialized. Argument 'log_level' ignored. 
   
   But calling s3_bucket/S3FileSystem$create w/o `log_level` set repeatedly 
does not and the initially set log_level is retained.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to