[xep-support] Re: Réf. : Re: [xep-support] How to disable weblogic console output?

From: Werner Donné (werner.donne@re.be)
Date: Fri Oct 01 2004 - 01:10:25 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] MathML support"

    Frédéric,

    I was just giving an example. You can write whatever you want in your
    Logger interface implementation. In fact you could write a Logger
    that forwards the events to log4j as well, so you can keep your log4j
    configuration and have it nicely integrated. I'm not a log4j expert,
    but I think you can call Appender.doAppend(LoggingEvent event) within
    the error(), event(), exception(), info() and warning() methods of
    com.renderx.xep.lib.Logger.

    Werner.

    frederic.ouellet@desjardins.com wrote:
    >
    >
    >
    >
    >
    >
    > Werner Donné:
    >
    > Does my logger will log thing without print it on the console? A Logger that do nothing, will not log in my logs files... Samething for the DevNullWriter.
    >
    > In log4J, I can put ConsoleAppender or FileAppender on the Logger. I wish to do the same. I want to put only file appender on the MyLoggerImpl to be put on the
    > FOTransformer.
    >
    > Can you give me more precision?
    >
    >
    > Anybody else:
    >
    > Any suggestion will be gladly accepted! :o)
    >
    >
    > (Embedded image moved to file: pic05707.jpg)
    >
    >
    >
    >
    > Werner Donné <werner.donne@re.be>
    > Envoyé par : owner-xep-support@renderx.com
    > Pour
    > xep-support@renderx.com
    > 2004-09-29 16:39 cc
    >
    > Objet
    > Veuillez répondre à Re: [xep-support] How to disable weblogic console output?
    > xep-support@renderx.com
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > Frédéric,
    >
    > You can write a mute logger and attatch it to the renderer.
    > So, call setLogger() on FOTransformer with an implementation
    > of the Logger interface that does nothing. You could also
    > use the DefaultLogger with a "DevNullWriter" that doesn't
    > write (handy in other situations as well).
    >
    > Werner.
    >
    > frederic.ouellet@desjardins.com wrote:
    >
    >>
    >>
    >>
    >>
    >>I want to disable weblogic 8.1 console output when I generate PDF on my production environnement.
    >>
    >>Someone can give me some hint on how to disable it?
    >>
    >>Frédéric O.
    >>
    >>
    >>-------------------
    >>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    >>in the body of the message to majordomo@renderx.com from the address
    >>you are subscribed from.
    >>(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
    >>
    >>
    >
    >
    > --
    > Werner Donné -- Re BVBA
    > Engelbeekstraat 8
    > B-3300 Tienen
    > tel: (+32) 486 425803 e-mail: werner.donne@re.be
    > -------------------
    > (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    > in the body of the message to majordomo@renderx.com from the address
    > you are subscribed from.
    > (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
    >
    >
    > ------------------------------------------------------------------------
    >

    -- 
    Werner Donné  --  Re BVBA
    Engelbeekstraat 8
    B-3300 Tienen
    tel: (+32) 486 425803	e-mail: werner.donne@re.be
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
    


    This archive was generated by hypermail 2.1.5 : Fri Oct 01 2004 - 01:31:24 PDT