diff --git a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/TranslateOptions.java b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/TranslateOptions.java index 416fc9f2a38f..439470add1d6 100644 --- a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/TranslateOptions.java +++ b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/TranslateOptions.java @@ -161,10 +161,6 @@ private TranslateOptions(Builder builder) { } else if (builder.apiKey != null) { credentials = null; apiKey = builder.apiKey; - logger.log( - Level.WARNING, - "Ignoring Application Default Credentials {0}: using explicit setting for API key instead.", - ServiceOptions.CREDENTIAL_ENV_NAME); } else if (credentials != null) { // credentials assigned from ADC in superclass constructor apiKey = null; if (getDefaultApiKey() != null) {