]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Modified a logging call level
authorPeter Bernard West <pbwest@apache.org>
Mon, 19 Apr 2004 15:24:51 +0000 (15:24 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 19 Apr 2004 15:24:51 +0000 (15:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197519 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/FONode.java

index 77260d80c2e7432d68419593dfd7b72a9afd4578..40b181da3bdc953e1dadc4b1ab2bbfb4d81a8fab 100644 (file)
@@ -21,6 +21,7 @@ package org.apache.fop.fo;
 import java.util.BitSet;
 import java.util.HashMap;
 import java.util.Iterator;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 
 import org.apache.fop.apps.FOPException;
@@ -241,14 +242,16 @@ public class FONode extends SyncedNode{
             int property;
             int prop = foKeys[propx].intValue();
             if ( ! attrBitSet.get(prop)) {
-                log.info("Ignoring "
+                if (log.isLoggable(Level.FINE)) {
+                    log.fine("Ignoring "
                                    + PropNames.getPropertyName(prop)
                                    + " on "
                                    + FObjectNames.getFOName(type)
                                    + " for attribute set "
                                    + FOPropertySets.getAttrSetName(stateFlags)
                                    + ".");
-                continue;
+                    continue;
+                }
             }
             String attrValue = foAttributes.getFoAttrValue(prop);
             try {