From 711bb81416f6055a66f8aa9d49e140225ee8352b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 17 Mar 2012 13:09:00 +0100 Subject: [PATCH] Log decision to insert a redirect. --- src/de/todesbaum/jsite/application/ProjectInserter.java | 1 + 1 file changed, 1 insertion(+) 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()); -- 2.7.4