You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Rich Schiavi - ISDI.NET" <rs...@isdi.net> on 2002/05/09 00:32:46 UTC

turn off logging


I attempted to turn off logging by adding the following to my servlet init
routing:

MessageHandler.setOutputMethod(MessageHandler.NONE)

However, I still get all this stuff. I've search and trying to figure out
how to configure the servlet/webapp to not print all this information. Is
there a way to set the Logger?

Thanks,

Rich


5/8/02 12:39:20:936 HST] 65889399 SystemOut     U [ERROR]: Logger not set

[5/8/02 12:39:21:467 HST] 65889399 SystemOut     U [INFO]: building
formatting object tree

[5/8/02 12:39:22:068 HST] 65889399 SystemOut     U [INFO]: [1]

[5/8/02 12:39:23:500 HST] 65889399 SystemOut     U [INFO]: [2]

[5/8/02 12:39:23:510 HST] 65889399 SystemOut     U [INFO]: Parsing of
document complete, stopping renderer

[5/8/02 12:39:23:580 HST] 65889399 SystemOut     U [ERROR]: Logger not set

[5/8/02 12:39:23:590 HST] 65889399 SystemOut     U [INFO]: building
formatting object tree

[5/8/02 12:39:23:740 HST] 65889399 SystemOut     U [INFO]: [1]

[5/8/02 12:39:23:941 HST] 65889399 SystemOut     U [INFO]: [2]

[5/8/02 12:39:23:951 HST] 65889399 SystemOut     U [INFO]: Parsing of
document complete, stopping renderer

Re: turn off logging

Posted by Jeremias Maerki <je...@outline.ch>.
FOP 0.20.3 uses Jakarta LogKit for logging. See
docs/html-docs/embedding.html for instructions on how to control logging
and a link to Logkit (and more documentation).

In CVS we have switched to using the Avalon logger interface.
Configuring logging has become simpler and more flexible. The next
release of FOP will include that.
All you need to know to control log output should be on the following
page:
http://xml.apache.org/fop/embedding.html
(Look for NullLogger!)

So, the solution depends on which version of FOP you're using. Setting
the output method on MessageHandler has once worked but this mechanism
has gradually been disabled. I hope this helps.

On 09.05.2002 00:32:46 Rich Schiavi - ISDI.NET wrote:
> 
> 
> I attempted to turn off logging by adding the following to my servlet init
> routing:
> 
> MessageHandler.setOutputMethod(MessageHandler.NONE)
> 
> However, I still get all this stuff. I've search and trying to figure out
> how to configure the servlet/webapp to not print all this information. Is
> there a way to set the Logger?
> 
> Thanks,
> 
> Rich
> 
> 
> 5/8/02 12:39:20:936 HST] 65889399 SystemOut     U [ERROR]: Logger not set
> 
> [5/8/02 12:39:21:467 HST] 65889399 SystemOut     U [INFO]: building
> formatting object tree
> 
> [5/8/02 12:39:22:068 HST] 65889399 SystemOut     U [INFO]: [1]
> 
> [5/8/02 12:39:23:500 HST] 65889399 SystemOut     U [INFO]: [2]
> 
> [5/8/02 12:39:23:510 HST] 65889399 SystemOut     U [INFO]: Parsing of
> document complete, stopping renderer
> 
> [5/8/02 12:39:23:580 HST] 65889399 SystemOut     U [ERROR]: Logger not set
> 
> [5/8/02 12:39:23:590 HST] 65889399 SystemOut     U [INFO]: building
> formatting object tree
> 
> [5/8/02 12:39:23:740 HST] 65889399 SystemOut     U [INFO]: [1]
> 
> [5/8/02 12:39:23:941 HST] 65889399 SystemOut     U [INFO]: [2]
> 
> [5/8/02 12:39:23:951 HST] 65889399 SystemOut     U [INFO]: Parsing of
> document complete, stopping renderer


Cheers,
Jeremias Maerki