changes for logging and s3 client impl