Log number of Sones that will be loaded.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 12:06:22 +0000 (14:06 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 12:06:22 +0000 (14:06 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 77b80cf..00bbed0 100644 (file)
@@ -136,6 +136,7 @@ public class Core extends AbstractService {
                }
 
                /* parse local Sones. */
+               logger.log(Level.INFO, "Loading %d Sones…", allSoneNames.size());
                for (String soneName : allSoneNames) {
                        String insertUri = configuration.getStringValue("Sone/Name." + soneName + "/InsertURI").getValue(null);
                        String requestUri = configuration.getStringValue("Sone/Name." + soneName + "/RequestURI").getValue(null);