Add some logging.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 14:01:37 +0000 (16:01 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 14:01:37 +0000 (16:01 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 6dc5040..c5c7308 100644 (file)
@@ -144,6 +144,7 @@ public class Core extends AbstractService {
                }
                Sone sone;
                try {
+                       logger.log(Level.FINEST, "Creating new Sone “%s” at %s (%s)…", new Object[] { name, requestUri, insertUri });
                        sone = new Sone(UUID.randomUUID(), name, new FreenetURI(requestUri), new FreenetURI(insertUri));
                } catch (MalformedURLException mue1) {
                        throw new SoneException(Type.INVALID_URI);