From 71fe9978e9fdd134b5b49421129298151aaa4c22 Mon Sep 17 00:00:00 2001 From: "Xavier F. Gouchet" Date: Tue, 10 Oct 2023 11:15:08 +0200 Subject: [PATCH] Lower log level from warning to info when no minification enabled Fixes #185 --- .../com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dd-sdk-android-gradle-plugin/src/main/kotlin/com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt b/dd-sdk-android-gradle-plugin/src/main/kotlin/com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt index 3835834c..96c4fa24 100644 --- a/dd-sdk-android-gradle-plugin/src/main/kotlin/com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt +++ b/dd-sdk-android-gradle-plugin/src/main/kotlin/com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt @@ -74,12 +74,12 @@ class DdAndroidGradlePlugin @Inject constructor( extension: DdExtension ): Task? { if (!variant.buildType.isMinifyEnabled) { - LOGGER.warn("Minifying disabled for variant ${variant.name}, no upload task created") + LOGGER.info("Minifying disabled for variant ${variant.name}, no upload task created") return null } if (!extension.enabled) { - LOGGER.warn("Extension disabled for variant ${variant.name}, no upload task created") + LOGGER.info("Extension disabled for variant ${variant.name}, no upload task created") return null } @@ -128,7 +128,7 @@ class DdAndroidGradlePlugin @Inject constructor( extension: DdExtension ): Provider? { if (!extension.enabled) { - LOGGER.warn("Extension disabled for variant ${variant.name}, no sdk check task created") + LOGGER.info("Extension disabled for variant ${variant.name}, no sdk check task created") return null }