From 25a69f4ca0fd585bb4c91d3598fa553892e20a44 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 4 Aug 2021 23:09:38 +0200 Subject: [PATCH] Escalate null entries in the db to the warn level --- .../com/plotsquared/core/database/SQLManager.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/database/SQLManager.java b/Core/src/main/java/com/plotsquared/core/database/SQLManager.java index 13edefbd6..ee22cbbd2 100644 --- a/Core/src/main/java/com/plotsquared/core/database/SQLManager.java +++ b/Core/src/main/java/com/plotsquared/core/database/SQLManager.java @@ -1935,7 +1935,7 @@ public class SQLManager implements AbstractDB { } else if (Settings.Enabled_Components.DATABASE_PURGER) { toDelete.add(id); } else { - LOGGER.info("Entry #{}({}) in `plot_rating` does not exist." + LOGGER.warn("Entry #{}({}) in `plot_rating` does not exist." + " Create this plot or set `database-purger: true` in settings.yml", id, plot); } } @@ -1963,7 +1963,7 @@ public class SQLManager implements AbstractDB { } else if (Settings.Enabled_Components.DATABASE_PURGER) { toDelete.add(id); } else { - LOGGER.info("Entry #{}({}) in `plot_helpers` does not exist." + LOGGER.warn("Entry #{}({}) in `plot_helpers` does not exist." + " Create this plot or set `database-purger: true` in settings.yml", id, plot); } } @@ -1990,7 +1990,7 @@ public class SQLManager implements AbstractDB { } else if (Settings.Enabled_Components.DATABASE_PURGER) { toDelete.add(id); } else { - LOGGER.info("Entry #{}({}) in `plot_trusted` does not exist." + LOGGER.warn("Entry #{}({}) in `plot_trusted` does not exist." + " Create this plot or set `database-purger: true` in settings.yml", id, plot); } } @@ -2017,7 +2017,7 @@ public class SQLManager implements AbstractDB { } else if (Settings.Enabled_Components.DATABASE_PURGER) { toDelete.add(id); } else { - LOGGER.info("Entry #{}({}) in `plot_denied` does not exist." + LOGGER.warn("Entry #{}({}) in `plot_denied` does not exist." + " Create this plot or set `database-purger: true` in settings.yml", id, plot); } } @@ -2058,7 +2058,7 @@ public class SQLManager implements AbstractDB { } else if (Settings.Enabled_Components.DATABASE_PURGER) { toDelete.add(id); } else { - LOGGER.info("Entry #{}({}) in `plot_flags` does not exist." + LOGGER.warn("Entry #{}({}) in `plot_flags` does not exist." + " Create this plot or set `database-purger: true` in settings.yml", id, plot); } } @@ -2113,7 +2113,7 @@ public class SQLManager implements AbstractDB { } else if (Settings.Enabled_Components.DATABASE_PURGER) { toDelete.add(id); } else { - LOGGER.info("Entry #{}({}) in `plot_settings` does not exist." + LOGGER.warn("Entry #{}({}) in `plot_settings` does not exist." + " Create this plot or set `database-purger: true` in settings.yml", id, plot); } }