Bug 15010 - Logkit-1.0.jar missing from Fop 0.20.4
Summary: Logkit-1.0.jar missing from Fop 0.20.4
Status: CLOSED WORKSFORME
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.20.4
Hardware: All Windows XP
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-03 00:00 UTC by Michellea Southern
Modified: 2012-04-01 13:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michellea Southern 2002-12-03 00:00:04 UTC
I wrote a program in Java using the package org.apache.log.  The program would 
compile under Fop 0.20.3 but not 0.20.4. Then I relize the logkit-1.0.jar is 
missing from the Fop0.20.4.zip.

Michellea
Comment 1 Jeremias Maerki 2002-12-03 06:54:57 UTC
Right, because we got rid of the dependency on LogKit in version 0.20.4. We're 
using the Avalon Logger interface now. If you had something like this before...

driver.setLogger(Hierarchy.getDefaultHierarchy().getLoggerFor("FOP"));

then what you have to change now is this:

import org.apache.avalon.framework.logger.*;
import org.apache.log.Hierarchy;

Logger log = new LogKitLogger(Hierarchy.getDefaultHierarchy().getLoggerFor
("FOP"));
driver.setLogger(log);

Just make sure you add logkit.jar to the classpath yourself if you still want 
to use it.

See these links for more information:
http://jakarta.apache.org/avalon/api/org/apache/avalon/framework/logger/package-
summary.html
http://xml.apache.org/fop/embedding.html (Here's an more complete example how 
to work with LogKit Logger)
Comment 2 Glenn Adams 2012-04-01 13:55:22 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs