From: Jeremias Maerki Date: Tue, 30 Aug 2005 18:49:27 +0000 (+0000) Subject: Write to log output (debug level) which image source is used to load an image. X-Git-Tag: fop-0_90-alpha1~303 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73746f66b8090d5959aa2b35734cd2828d1cc4fd;p=xmlgraphics-fop.git 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 --- 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