You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/12/03 07:54:58 UTC

DO NOT REPLY [Bug 15010] - Logkit-1.0.jar missing from Fop 0.20.4

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15010>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15010

Logkit-1.0.jar missing from Fop 0.20.4

jeremias@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From jeremias@apache.org  2002-12-03 06:54 -------
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)

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org