diff --git a/pom.xml b/pom.xml index 1f0cd94a..3834448c 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.osiris.autoplug.client autoplug-client - 7.5.2 + 7.5.3 jar AutoPlug-Client diff --git a/src/main/java/com/osiris/autoplug/client/configs/MyYaml.java b/src/main/java/com/osiris/autoplug/client/configs/MyYaml.java index ad9fe748..814e8fce 100644 --- a/src/main/java/com/osiris/autoplug/client/configs/MyYaml.java +++ b/src/main/java/com/osiris/autoplug/client/configs/MyYaml.java @@ -99,8 +99,10 @@ public Yaml addSingletonConfigFileEventListener(Consumer listener) th filesAndPEvents.put(path, new PSave()); } + AL.debug(this.getClass(), "Listening for changes for " + path); super.addFileEventListener(e -> { - String preInfo = "Modified " + this.file.getName() + ": "; + String preInfo = this.file.getName() + " (" + e.getWatchEventKind() + "): "; + AL.debug(this.getClass(), preInfo); if (e.isDeleteEvent()) AL.info(preInfo + "Deleted. Thus clean config with defaults will be created once ist needed."); if (e.isModifyEvent()) {