import java.util.NoSuchElementException;
import org.apache.fop.apps.FOPException;
-import org.apache.fop.apps.Fop;
import org.apache.fop.datastructs.TreeException;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FOTree;
public long makePageId() {
if (++pageId == 0) {
++pageId; // 0 is invalid
- Fop.logger.warning("Page ID rollover.");
+ log.warning("Page ID rollover.");
}
return pageId;
}
import java.util.NoSuchElementException;
import java.util.logging.Level;
+import java.util.logging.Logger;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
private Namespaces namespaces;
private InputSource source;
private Thread foThread;
+ protected Logger log = Logger.getLogger(Fop.fopPackage);
private boolean errorDump;
/**
this.source = source;
namespaces = events.getNamespaces();
parser.setContentHandler(this);
- Level level = Fop.logger.getLevel();
+ Level level = log.getLevel();
if (level.intValue() <= Level.FINE.intValue()) {
errorDump = true;
}