From f9b07436ce3a0164d16d4f21339ec9573f7ac023 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 30 Apr 2020 14:51:31 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=94=8A=20Add=20debug=20logging=20for=20unr?= =?utf8?q?egistering=20USKs?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/core/FreenetInterface.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index 35ac6a1..50ee9d0 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -285,7 +285,8 @@ public class FreenetInterface { return; } try { - logger.log(Level.FINEST, String.format("Unsubscribing from USK for %s…", sone)); + logger.log(Level.FINE, String.format("Unsubscribing from USK for %s…", sone)); + logger.log(Level.FINEST, String.format("USKs left: %d", soneUskCallbacks.size())); node.clientCore.uskManager.unsubscribe(USK.create(soneUriCreator.getRequestUri(sone)), uskCallback); } catch (MalformedURLException mue1) { logger.log(Level.FINE, String.format("Could not unsubscribe USK “%s”!", soneUriCreator.getRequestUri(sone)), mue1); -- 2.7.4