Add output when a Sone was successfully parsed
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Feb 2019 23:09:11 +0000 (00:09 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Feb 2019 23:09:11 +0000 (00:09 +0100)
src/main/java/net/pterodactylus/sone/core/SoneDownloaderImpl.java

index ec3d8e6..ba1c632 100644 (file)
@@ -191,6 +191,7 @@ public class SoneDownloaderImpl extends AbstractService implements SoneDownloade
                        Sone parsedSone = soneParser.parseSone(originalSone,
                                        soneInputStream);
                        if (parsedSone != null) {
+                               logger.log(Level.FINER, "Sone %s was successfully parsed.", parsedSone);
                                parsedSone.setLatestEdition(requestUri.getEdition());
                        }
                        return parsedSone;