diff --git a/elasticsearch/x-pack/license-plugin/src/main/java/org/elasticsearch/license/plugin/core/LicensesService.java b/elasticsearch/x-pack/license-plugin/src/main/java/org/elasticsearch/license/plugin/core/LicensesService.java index fe0be8763b5..7b9440fbea0 100644 --- a/elasticsearch/x-pack/license-plugin/src/main/java/org/elasticsearch/license/plugin/core/LicensesService.java +++ b/elasticsearch/x-pack/license-plugin/src/main/java/org/elasticsearch/license/plugin/core/LicensesService.java @@ -149,7 +149,7 @@ public class LicensesService extends AbstractLifecycleComponent } private void populateExpirationCallbacks() { - expirationCallbacks.add(new ExpirationCallback.Pre(days(7), days(30), days(1)) { + expirationCallbacks.add(new ExpirationCallback.Pre(days(7), days(25), days(1)) { @Override public void on(License license) { String general = LoggerMessageFormat.format(null, "\n" + @@ -174,9 +174,9 @@ public class LicensesService extends AbstractLifecycleComponent } } } - logger.error("{}", builder); + logger.warn("{}", builder); } else { - logger.error("{}", general); + logger.warn("{}", general); } } } @@ -206,9 +206,9 @@ public class LicensesService extends AbstractLifecycleComponent } } } - logger.error("{}", builder.toString()); + logger.warn("{}", builder.toString()); } else { - logger.error("{}", general); + logger.warn("{}", general); } } } @@ -238,9 +238,9 @@ public class LicensesService extends AbstractLifecycleComponent } } } - logger.error("{}", builder.toString()); + logger.warn("{}", builder.toString()); } else { - logger.error("{}", general); + logger.warn("{}", general); } } }