From 73746f66b8090d5959aa2b35734cd2828d1cc4fd Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 30 Aug 2005 18:49:27 +0000 Subject: [PATCH] Write to log output (debug level) which image source is used to load an image. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264824 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/image/ImageFactory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/java/org/apache/fop/image/ImageFactory.java b/src/java/org/apache/fop/image/ImageFactory.java index a99a4926d..bc2258958 100644 --- a/src/java/org/apache/fop/image/ImageFactory.java +++ b/src/java/org/apache/fop/image/ImageFactory.java @@ -251,6 +251,11 @@ public final class ImageFactory { log.error("Unsupported image type (" + href + "): " + imgMimeType); return null; + } else { + if (log.isDebugEnabled()) { + log.debug("Loading " + imgMimeType + " with " + imageClass.getName() + + ": " + href); + } } // load the right image class -- 2.39.5