Source:
<code>private BlobServiceClient buildBlobServiceClient(String accountName, Map<String,?> config) { String scheme = !config.containsKey(AZURE_STORAGE_USE_HTTPS) || (Boolean) config.get(AZURE_STORAGE_USE_HTTPS) ? "https" : "http"; BlobServiceClientBuilder builder = new BlobServiceClientBuilder() .endpoint(String.format(AZURE_STORAGE_ENDPOINT_TEMPLATE, scheme, accountName)); if (config.containsKey(AZURE_STORAGE_ACCOUNT_KEY)) { builder.credential(new StorageSharedKeyCredential(accountName, (String)config.get(AZURE_STORAGE_ACCOUNT_KEY))); } else if (config.containsKey(AZURE_STORAGE_SAS_TOKEN)) { builder.sasToken((String) config.get(AZURE_STORAGE_SAS_TOKEN)); } else { throw new IllegalArgumentException(String.format("No credentials were provided. Please specify one of the" + " following when constructing an AzureFileSystem: %s, %s.", AZURE_STORAGE_ACCOUNT_KEY, AZURE_STORAGE_SAS_TOKEN)); } <START> builder.httpLogOptions(new HttpLogOptions() .setLogLevel((HttpLogDetailLevel)config.get(AZURE_STORAGE_HTTP_LOG_DETAIL_LEVEL))); <END> RequestRetryOptions retryOptions = new RequestRetryOptions( (RetryPolicyType)config.get(AZURE_STORAGE_RETRY_POLICY_TYPE), (Integer)config.get(AZURE_STORAGE_MAX_TRIES), (Integer)config.get(AZURE_STORAGE_TRY_TIMEOUT), (Long)config.get(AZURE_STORAGE_RETRY_DELAY_IN_MS), (Long)config.get(AZURE_STORAGE_MAX_RETRY_DELAY_IN_MS), (String)config.get(AZURE_STORAGE_SECONDARY_HOST)); builder.retryOptions(retryOptions); builder.httpClient((HttpClient)config.get(AZURE_STORAGE_HTTP_CLIENT)); return builder.buildClient(); }</code><technical_language>This BlobServiceClientBuilder.getDefaultHttpLopOptions() base setting log level, this continue maintain proper query string header logging. Right this wipe out Storage specific headers query string parameters logged. Future enhancement adding additional configurations set loggable query string parameters header names</technical_language>

Target:
private BlobServiceClient buildBlobServiceClient(String accountName, Map<String,?> config) { String scheme = !config.containsKey(AZURE_STORAGE_USE_HTTPS) || (Boolean) config.get(AZURE_STORAGE_USE_HTTPS) ? "https" : "http"; BlobServiceClientBuilder builder = new BlobServiceClientBuilder() .endpoint(String.format(AZURE_STORAGE_BLOB_ENDPOINT_TEMPLATE, scheme, accountName)); if (config.containsKey(AZURE_STORAGE_ACCOUNT_KEY)) { builder.credential(new StorageSharedKeyCredential(accountName, (String)config.get(AZURE_STORAGE_ACCOUNT_KEY))); } else if (config.containsKey(AZURE_STORAGE_SAS_TOKEN)) { builder.sasToken((String) config.get(AZURE_STORAGE_SAS_TOKEN)); } else { throw Utility.logError(logger, new IllegalArgumentException(String.format("No credentials were provided. " + "Please specify one of the following when constructing an AzureFileSystem: %s, %s.", AZURE_STORAGE_ACCOUNT_KEY, AZURE_STORAGE_SAS_TOKEN))); } builder.httpLogOptions(BlobServiceClientBuilder.getDefaultHttpLogOptions() .setLogLevel((HttpLogDetailLevel)config.get(AZURE_STORAGE_HTTP_LOG_DETAIL_LEVEL))); RequestRetryOptions retryOptions = new RequestRetryOptions( (RetryPolicyType)config.get(AZURE_STORAGE_RETRY_POLICY_TYPE), (Integer)config.get(AZURE_STORAGE_MAX_TRIES), (Integer)config.get(AZURE_STORAGE_TRY_TIMEOUT), (Long)config.get(AZURE_STORAGE_RETRY_DELAY_IN_MS), (Long)config.get(AZURE_STORAGE_MAX_RETRY_DELAY_IN_MS), (String)config.get(AZURE_STORAGE_SECONDARY_HOST)); builder.retryOptions(retryOptions); builder.httpClient((HttpClient)config.get(AZURE_STORAGE_HTTP_CLIENT)); return builder.buildClient(); }