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 "Beer, Christian" <BE...@DIRON.de> on 2001/09/20 09:35:16 UTC

"[ERROR]: Logger not set" message

Hi all!

Using version 0.20.1 I used 

<code>
MessageHandler.setOutputMethod(MessageHandler.EVENT);
MessageHandler.addListener(this);
</code>

to recieve the messages of FOP. 

But now as I am trying to use the cvs-version (because 
of the improvement with JPGs) I get the following output
on the console:

<output>
[ERROR]: Logger not set
[INFO]: building formatting object tree
setting up fonts
[INFO]: [1]
[INFO]: [2]
[INFO]: Parsing of document complete, stopping renderer
</output>

But no messages any more!

Did anything change that I didn't recognize??

Christian

__________________________________________________
DIRON Wirtschaftsinformatik GmbH & Co. KG
Christian Beer          (Christian.Beer@diron.de)
Daimlerweg 39-41        Tel. : +49(251)979-200
48163 Muenster          Fax  : +49(251)979-2020
Germany                 Email: info@diron.de  

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


Re: "[ERROR]: Logger not set" message

Posted by Keiron Liddle <ke...@aftexsw.com>.
The logging used by fop has been changed to use a more common logging
library, logkit.
You just need to set the logger on the Driver, ie.
driver.setLogger(logger);

To see how to create a logger look at the getLogger method in the Driver,
and read up at jakarta.apache.org.
This information will be on the website eventually.

On Thu, 20 Sep 2001 09:35:16 "Beer, Christian" wrote:
> Hi all!
> 
> Using version 0.20.1 I used 
> 
> <code>
> MessageHandler.setOutputMethod(MessageHandler.EVENT);
> MessageHandler.addListener(this);
> </code>
> 
> to recieve the messages of FOP. 
> 
> But now as I am trying to use the cvs-version (because 
> of the improvement with JPGs) I get the following output
> on the console:
> 
> <output>
> [ERROR]: Logger not set
> [INFO]: building formatting object tree
> setting up fonts
> [INFO]: [1]
> [INFO]: [2]
> [INFO]: Parsing of document complete, stopping renderer
> </output>
> 
> But no messages any more!
> 
> Did anything change that I didn't recognize??
> 
> Christian

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