diff --git a/src/main/java/net/limework/automaticlogdeleter/AutomaticLogDeleter.java b/src/main/java/net/limework/automaticlogdeleter/AutomaticLogDeleter.java index d5550eb..75709e0 100644 --- a/src/main/java/net/limework/automaticlogdeleter/AutomaticLogDeleter.java +++ b/src/main/java/net/limework/automaticlogdeleter/AutomaticLogDeleter.java @@ -44,9 +44,9 @@ public class AutomaticLogDeleter extends JavaPlugin { if ((System.currentTimeMillis() - file.lastModified()) > maxOldMillis) { if (!file.delete()) { - Bukkit.getLogger().log(Level.WARNING, "Failed to delete server log file! Are you sure the file permissions are correct?"); + Bukkit.getLogger().log(Level.WARNING, "[AutomaticLogDeleter] Failed to delete server log file! Are you sure the file permissions are correct?"); } else { - Bukkit.getLogger().log(Level.INFO, "Deleted log file " + file.getName()); + Bukkit.getLogger().log(Level.INFO, "[AutomaticLogDeleter] Deleted log file " + file.getName()); } } }