From: David ‘Bombe’ Roden Date: Thu, 2 May 2013 19:13:18 +0000 (+0200) Subject: Debug-log every single message. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ba0bbd652e91e951e9fadb88a5ad25fe6e4dea11;p=xudocci.git Debug-log every single message. --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index 2da9c73..d02e679 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -51,6 +51,7 @@ import net.pterodactylus.irc.event.DccSendReceived; import net.pterodactylus.irc.event.NicknameChanged; import net.pterodactylus.irc.event.PrivateMessageReceived; import net.pterodactylus.irc.event.PrivateNoticeReceived; +import net.pterodactylus.irc.event.ReplyReceived; import net.pterodactylus.irc.util.MessageCleaner; import net.pterodactylus.irc.util.RandomNickname; import net.pterodactylus.xdcc.core.event.BotAdded; @@ -818,6 +819,11 @@ public class Core extends AbstractExecutionThreadService { } } + @Subscribe + public void replyReceived(ReplyReceived replyReceived) { + logger.log(Level.FINEST, String.format("%s: %s", replyReceived.connection().hostname(), replyReceived.reply())); + } + // // PRIVATE METHODS //