logging with s3 upload