Skip to content

Commit

Permalink
feat: difference between states logged as info instead of lifecycle
Browse files Browse the repository at this point in the history
Fixes #368
  • Loading branch information
augi committed Aug 29, 2022
1 parent 9f7f19b commit 8155c72
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ abstract class ServiceInfoCache implements BuildService<Parameters> {
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
Expand Down

0 comments on commit 8155c72

Please sign in to comment.