Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Turn off console output in Apache FOP .93

Reply
Thread Tools

Turn off console output in Apache FOP .93

 
 
crazyatlantaguy@gmail.com
Guest
Posts: n/a
 
      03-15-2007
I recently went from using Apache FOP 0.2 to 0.93 but have been unable
to figure out how to turn off or redirect the logging output.
Currently it is all dumped to the console.

Although the brief mention of it in their documentation tells me the
logging is handled by Jakarta Commons Logging, I don't know enough
about that (nor can I find anything in *their* documentation) to at
least turn logging off. A simple example somewhere would do wonders.
Has anyone else worked with this who could point me in the right
direction, or give me an example?

Google has proven to be less than helpful since most of what I come
across is for FOP 0.2.

Many thanks -

 
Reply With Quote
 
 
 
 
CrazyAtlantaGuy
Guest
Posts: n/a
 
      05-03-2007
Turns out the answer was simple.

Logger fopLogger = Logger.getLogger("org.apache.fop");
fopLogger.setLevel(Level.SEVERE);


On Mar 15, 12:19 pm, (E-Mail Removed) wrote:
> I recently went from using Apache FOP 0.2 to 0.93 but have been unable
> to figure out how to turn off or redirect the logging output.
> Currently it is all dumped to the console.
>
> Although the brief mention of it in their documentation tells me the
> logging is handled by Jakarta Commons Logging, I don't know enough
> about that (nor can I find anything in *their* documentation) to at
> least turn logging off. A simple example somewhere would do wonders.
> Has anyone else worked with this who could point me in the right
> direction, or give me an example?
>
> Google has proven to be less than helpful since most of what I come
> across is for FOP 0.2.
>
> Many thanks -



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache FOP to load images with data url in PDF using xsl-fo Edward Java 2 05-18-2007 02:07 PM
Problems running Apache FOP: org.apache.fop.fo.FOTreeBuilder fatalError Pablo Java 0 03-28-2007 02:31 PM
Apache FOP: generating valid xml:fo lorna.mitchell@gmail.com XML 4 05-11-2006 07:41 PM
org/apache/fop/apps/XSLTInputHandler not found in deployed war !! Manoj Nair XML 0 06-08-2004 05:09 PM
Apache FOP related question - Is XSLTInputHandler coded only to handle FILE objects? Manoj Nair XML 0 06-04-2004 09:42 PM



Advertisments