rishabhdaim commented on code in PR #2558:
URL: https://github.com/apache/jackrabbit-oak/pull/2558#discussion_r2422572588
##########
oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/S3Backend.java:
##########
@@ -235,19 +226,15 @@ public void init() throws DataStoreException {
setHttpDownloadURICacheSize(cacheMaxSize);
}
- String enablePresignedAccelerationStr =
properties.getProperty(S3Constants.PRESIGNED_URI_ENABLE_ACCELERATION);
-
setBinaryTransferAccelerationEnabled(enablePresignedAccelerationStr != null &&
"true".equals(enablePresignedAccelerationStr));
-
presignedDownloadURIVerifyExists =
PropertiesUtil.toBoolean(properties.get(S3Constants.PRESIGNED_HTTP_DOWNLOAD_URI_VERIFY_EXISTS),
true);
// Initialize reference key secret
getOrCreateReferenceKey();
- LOG.debug("S3 Backend initialized in [{}] ms",
- +(System.currentTimeMillis() - startTime.getTime()));
+ LOG.debug("S3 Backend initialized in [{}] ms",
(System.currentTimeMillis() - startTime.getTime()));
} catch (Exception e) {
- LOG.error("Error ", e);
+ LOG.error("Error while initializing S3 Backend {}",
e.getMessage());
Review Comment:
added in
https://github.com/apache/jackrabbit-oak/commit/a52bd37b68f9e8f38967cf42511e374603a16f70
--
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]