From: David ‘Bombe’ Roden Date: Sat, 17 Mar 2012 12:09:00 +0000 (+0100) Subject: Log decision to insert a redirect. X-Git-Tag: 0.10-rc1~30 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=711bb81416f6055a66f8aa9d49e140225ee8352b;p=jSite.git Log decision to insert a redirect. --- diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index 9471175..f447eed 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -283,6 +283,7 @@ public class ProjectInserter implements FileScannerListener, Runnable { /* check if file was modified. */ if (file.getHash().equals(fileOption.getLastInsertHash())) { /* only insert a redirect. */ + logger.log(Level.FINE, String.format("Inserting redirect to edition %d for %s.", fileOption.getLastInsertEdition(), filename)); return new RedirectFileEntry(filename, fileOption.getMimeType(), "SSK@" + project.getRequestURI() + "/" + project.getPath() + "-" + fileOption.getLastInsertEdition() + "/" + filename); } fileOption.setCurrentHash(file.getHash());