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 Holger Prause <h....@gmx.net> on 2002/04/11 17:32:11 UTC

Logging Issuae AVALON vs LOGKIT

Hello,

i have some questions about the status of the development of the logging
class

First of all some information about the jars i have in classpath

1 fop.jar from version fop-0.20.3
2 avalon-framework-4.1.2.jar from version Avalon-4.1.2
3 logkit.jar from version LogKit-1.0.1

I am a little bit cunfused about the using of the use of Loggin classes

I downloaded the current source code(fop-0.20.3-src.tar.gz )and found out
that its definitivly a fact that the Driver class only accepts an
org.apache.log.Logger class from LOGKIT as a input parameter

On the hompeage of FOP http://xml.apache.org/fop/embedding.html is written :


"FOP uses Jakarta Avalon's Logger interface
http://jakarta.apache.org/avalon/api/org/apache/avalon/framework/logger/Logger.html# to do logging. See the
Jakarta Avalon project for more information.",
but org.apache.log.Logger class from LOGKIT is NOT compatible with the
org.apache.avalon.framework.logger class from AVALON

So my conclusion is that FOP uses LOGKIT and not AVALON 

Another issue is that the documentation for logkit is not up to date ot not
full documented
http://jakarta.apache.org/avalon/logkit/api/index.html show no constructor
details but when u download the current source version of logkit and if u take
a look in the file Logger.java u will see that Logger has no default
constructor , just a parametrized on 

<pre>
  Logger( final ErrorHandler errorHandler, 
            final String category, 
            final LogTarget[] logTargets, 
            final Logger parent )
   {
   }
</pre>

It seems to be intended to make use of the Logger classes from the AVALON
project in FOP(which is in my opinion the right way to do this logging stuff)
,but its not implemented yet.Pls correct me if i am wrong.

What is the status of this development ? Can i use the AVALON Logger classes
in FOP in the next time ?

Thx a lot , 

Holger






-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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


Re: Logging Issuae AVALON vs LOGKIT

Posted by Holger Prause <h....@gmx.net>.
> The change from LogKit to Avalon Logger has happened after the 0.20.3
> release. The documentation on the website already reflects the changes
> in CVS. There's no release yet with the new logging. You could download
> the CVS-version, though.

Ok ,thx for this information, but our intranet solution is based on
fop.0.20.3 and its running stable , so i have wait for the next realease(to much
depends from FOP, we have >20 Stylesheets).

Thx again,

Holger

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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


Re: Logging Issuae AVALON vs LOGKIT

Posted by Jeremias Maerki <je...@outline.ch>.
The change from LogKit to Avalon Logger has happened after the 0.20.3
release. The documentation on the website already reflects the changes
in CVS. There's no release yet with the new logging. You could download
the CVS-version, though.

<snip/>
> I downloaded the current source code(fop-0.20.3-src.tar.gz )and found out
> that its definitivly a fact that the Driver class only accepts an
> org.apache.log.Logger class from LOGKIT as a input parameter
<snip/>
> What is the status of this development ? Can i use the AVALON Logger classes
> in FOP in the next time ?

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


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