From: David ‘Bombe’ Roden Date: Thu, 30 Apr 2020 12:51:31 +0000 (+0200) Subject: 🔊 Add debug logging for unregistering USKs X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f9b07436ce3a0164d16d4f21339ec9573f7ac023;p=Sone.git 🔊 Add debug logging for unregistering USKs --- 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);