amoeba opened a new issue, #35260:
URL: https://github.com/apache/arrow/issues/35260

   ### Describe the enhancement requested
   
   The AWS SDK has built-in logging and the C++ Arrow S3 implementation 
provides a way to initialize S3 with a log level other than the default 
(Fatal). Setting the log level above the default of Fatal is useful for both 
users and developers who might want to understand what the AWS SDK is doing 
behind the scenes. My immediate use case is to measure the timing and number of 
HTTP requests `arrow::write_dataset` triggers for a workload I'm 
troubleshooting.
   
   The Python bindings expose such an option as:
   
   ```python
   import pyarrow
   from pyarrow import fs
   
   fs.initialize_s3(fs.S3LogLevel.Debug)
   ```
   
   As far as I can tell, the R bindings don't expose anything similar. Would 
this be worth a PR? It could look something like:
   
   ```r
   library(arrow)
   
   arrow:::s3_init("Debug") # Output starts printing to the console
   s3_bucket(....) # Prints lots of debug info to console
   ```
   
   I'm not sure whether my example `s3_init` should be exported or not so I'm 
also curious for thoughts on that.
   
   ### Component(s)
   
   R


-- 
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