Turn off console output in Apache FOP .93

Discussion in 'Java' started by crazyatlantaguy@gmail.com, Mar 15, 2007.

  1. Guest

    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 -
    , Mar 15, 2007
    #1
    1. Advertising

  2. Turns out the answer was simple.

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


    On Mar 15, 12:19 pm, 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 -
    CrazyAtlantaGuy, May 3, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Edward
    Replies:
    2
    Views:
    10,872
    DerekLittle
    May 18, 2007
  2. How to turn off Standard Output

    , May 2, 2006, in forum: C Programming
    Replies:
    2
    Views:
    278
    Richard Bos
    May 2, 2006
  3. Pablo
    Replies:
    0
    Views:
    932
    Pablo
    Mar 28, 2007
  4. robert112
    Replies:
    1
    Views:
    431
    Juan T. Llibre
    Apr 26, 2007
  5. Replies:
    5
    Views:
    3,416
    James Kanze
    Mar 4, 2008
Loading...

Share This Page