Source:
<code>public static B2UnderFileSystem createInstance(AlluxioURI alluxioURI, UnderFileSystemConfiguration conf) throws ServiceException { LOG.debug("initializing B2 Storage Client"); <START> LOG.debug(alluxioURI.toString()); <END> B2StorageClient client = B2StorageClientFactory.createDefaultFactory() .create(conf.get(PropertyKey.B2_ACCESS_KEY), conf.get(PropertyKey.B2_SECRET_KEY), USER_AGENT); try { B2AccountAuthorization accountAuthorization = client.getAccountAuthorization(); LOG.debug(accountAuthorization.toString()); B2Allowed allowed = accountAuthorization.getAllowed(); LOG.debug(allowed.toString()); String accountId = accountAuthorization.getAccountId(); List<String> capabilities = allowed.getCapabilities(); String bucketNameFromURI = UnderFileSystemUtils.getBucketName(alluxioURI); LOG.debug("bucketname from uri: {}", bucketNameFromURI); String bucketId; String bucketName; if (allowed.getBucketId() != null) { bucketId = allowed.getBucketId(); bucketName = allowed.getBucketName(); } else { B2Bucket bucket = client.getBucketOrNullByName(bucketNameFromURI); LOG.debug(bucket.toString()); bucketId = bucket.getBucketId(); bucketName = bucket.getBucketName(); } short bucketMode = B2Utils.translateBucketAcl(capabilities); return new B2UnderFileSystem(alluxioURI, conf, client, bucketId, bucketName, bucketMode, accountId); } catch (B2Exception | NullPointerException e) { LOG.error("Failed to instantiate B2UnderFileSystem client with key:{} and URI: {}", conf.get(PropertyKey.B2_ACCESS_KEY), alluxioURI); Throwables.propagateIfPossible(e, ServiceException.class); } return null; }</code><technical_language>combine log statements? suggestion LOG.debug("initializing B2 Storage Client {}". alluxioURI);</technical_language>

Target:
public static B2UnderFileSystem createInstance(AlluxioURI alluxioURI, UnderFileSystemConfiguration conf) throws ServiceException { LOG.debug("Initializing B2 Storage Client at {}", alluxioURI); B2StorageClient client = B2StorageClientFactory.createDefaultFactory() .create(conf.get(PropertyKey.B2_ACCESS_KEY), conf.get(PropertyKey.B2_SECRET_KEY), USER_AGENT); try { B2AccountAuthorization accountAuthorization = client.getAccountAuthorization(); LOG.debug("B2AccountAuthorization {}", accountAuthorization); B2Allowed allowed = accountAuthorization.getAllowed(); LOG.debug("B2Allowed {}", allowed); String accountId = accountAuthorization.getAccountId(); List<String> capabilities = allowed.getCapabilities(); String bucketNameFromURI = UnderFileSystemUtils.getBucketName(alluxioURI); LOG.debug("bucket name from uri {}", bucketNameFromURI); String bucketId; String bucketName; if (allowed.getBucketId() != null) { bucketId = allowed.getBucketId(); bucketName = allowed.getBucketName(); } else { B2Bucket bucket = client.getBucketOrNullByName(bucketNameFromURI); LOG.debug("B2Bucket {}", bucket); bucketId = bucket.getBucketId(); bucketName = bucket.getBucketName(); } short bucketMode = B2Utils.translateBucketAcl(capabilities); return new B2UnderFileSystem(alluxioURI, conf, client, bucketId, bucketName, bucketMode, accountId); } catch (B2Exception | NullPointerException e) { LOG.error("Failed to instantiate B2UnderFileSystem client with key:{} and URI: {}", conf.get(PropertyKey.B2_ACCESS_KEY), alluxioURI); Throwables.propagateIfPossible(e, ServiceException.class); } return null; }