xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Tkachenko <ol...@multiconn.com>
Subject Re: Suppressing console-output
Date Sat, 07 Dec 2002 20:43:27 GMT
M.Weiss wrote:

> does anyone know, how I may suppress the console-output, written during the
> rendering-process in fop. Lines like:
> 
> --
> using SAX parser org.apache.xerces.parsers.SAXParser
> building formatting object tree
> setting up fonts
>  [1]
> Parsing of document complete, stopping renderer
> Initial heap size: 13599Kb
> Current heap size: 12928Kb
> Total memory used: -671Kb
>   Memory use is indicative; no GC was performed
>   These figures should not be used comparatively
> Total time used: 60ms
> Pages rendererd: 1
> Avg render time: 60ms/page

If you are embedding FOP, you can supply NullLogger (availabele at 
Avalon LogKit) or set ConsoleLogger to DISABLE level:
log = new ConsoleLogger(ConsoleLogger.LEVEL_DISABLE);

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


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


Mime
View raw message