From: David ‘Bombe’ Roden Date: Sun, 6 Jan 2013 23:51:39 +0000 (+0100) Subject: Show what date and time we are waiting for, promote to log level INFO. X-Git-Tag: 0.1~52 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=90db6d61a40601f0f33435559d569105d9d5ff68;p=rhynodge.git Show what date and time we are waiting for, promote to log level INFO. --- diff --git a/src/main/java/net/pterodactylus/reactor/engine/Engine.java b/src/main/java/net/pterodactylus/reactor/engine/Engine.java index 79ea482..fe57b33 100644 --- a/src/main/java/net/pterodactylus/reactor/engine/Engine.java +++ b/src/main/java/net/pterodactylus/reactor/engine/Engine.java @@ -136,7 +136,7 @@ public class Engine extends AbstractExecutionThreadService { if (waitTime > 0) { synchronized (reactions) { try { - logger.debug(String.format("Waiting for %d milliseconds.", waitTime)); + logger.info(String.format("Waiting until %tc.", lastStateTime + nextReaction.updateInterval())); reactions.wait(waitTime); } catch (InterruptedException ie1) { /* we’re looping! */