From 8155c72073039e293b9bd43cfbe6e6f068a31662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20August=C3=BDn?= Date: Mon, 29 Aug 2022 11:12:30 +0200 Subject: [PATCH] feat: difference between states logged as info instead of lifecycle Fixes #368 --- .../com/avast/gradle/dockercompose/ServiceInfoCache.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/groovy/com/avast/gradle/dockercompose/ServiceInfoCache.groovy b/src/main/groovy/com/avast/gradle/dockercompose/ServiceInfoCache.groovy index e6e3dc7d..cc9c9c79 100644 --- a/src/main/groovy/com/avast/gradle/dockercompose/ServiceInfoCache.groovy +++ b/src/main/groovy/com/avast/gradle/dockercompose/ServiceInfoCache.groovy @@ -47,7 +47,8 @@ abstract class ServiceInfoCache implements BuildService { if (cachedState == currentState) { return deserialized.collectEntries { k, v -> [k, deserializeServiceInfo(v)] } } else { - logger.lifecycle("Current and cached states differs, cannot use the cached service infos.\nCached state:\n$cachedState\nCurrent state:\n$currentState") + logger.lifecycle("Current and cached states differs, cannot use the cached service infos.") + logger.info("Cached state:\n$cachedState\nCurrent state:\n$currentState") } } return null