From: frederic.ouellet@desjardins.com
Date: Fri Oct 01 2004 - 07:30:56 PDT
David Tolpin:
I don't want to disable Logging. I want to disabled console printing.
I cannot pass an empty logger because I want to log in File with log4J. So all method of the logger calls Desjardins File Logger.
So, How Can I use Logging without console output?
Regards,
Frédéric Ouellet
David Tolpin <dvd@davidashen.net>
Envoyé par : owner-xep-support@renderx.com
Pour
xep-support@renderx.com
2004-10-01 10:12 cc
Objet
Veuillez répondre à Re: [xep-support] XEP TEAM - How to disable weblogic console output of XEP data?
xep-support@renderx.com
frederic.ouellet@desjardins.com:
> I must put an instance of your logger on the FOTransformer. But your logger print a lot of thing in the weblogic console. My company can generated more than 20000 PDF
a
> day. Can I have the possibility to not print all these generation in the weblogic console?
>
Frederic,
you should have doc/samples/Logger/ in your documentation set.
The example (Runner.java in that directory) shows how to set
a custom logger for the transfomer. Setting a logger with
empty methods suppresses logging.
The interface also defines a constant for the null logger:
final static com.renderx.xep.lib.Logger NULL_LOGGER. If
this constant is specified in the logger argument, logging is
disabled.
David
-------------------
(*) 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
-------------------
(*) 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 - 07:46:24 PDT