Hi,

        I've got DBAppender logging to mysql and chainsaw displaying events with
DBReceiver.

        I noticed that DBReceiver / chainsaw gets all of the logging events from
the DB, when it initializes the receiver. Wouldn't it be preferable to get
data in chunks, when needed ?

thanks
Ricardo

-----Mensagem original-----
De: Ceki Gülcü [mailto:[EMAIL PROTECTED]
Enviada: quinta-feira, 16 de Setembro de 2004 19:50
Para: Log4J Users List
Assunto: Re: configuring DBAppender / JMSAppender


At 08:37 PM 9/16/2004, you wrote:
>Hi,
>
>         I have some questions configuring DBAppender and JMSAppender.
>
>         I read that to configure them, and some of the new appenders, I
> either have
>to do it programatically or use Joran. I don't want to code it, so Joran it
>is.
>
>         My question is what is the status of the Joran configurator, and
> where can
>I get docs and examples for it. I found some in the wiki, but not quite
what
>I wanted.

JoranConfigurator is fairly mature. It is used nearly in the same way as
DOMConfigurator.
See examples in tests/src/java/org/apache/log4j/db/

For sample configuration files see tests/input/db/

>         Also, is the .properties configuration format deprecated ? Should
> I avoid
>it ?

JoranConfigurator is much more powerful but for the simple cases
PropertyConfigurator does just fine.

>thanks
>Ricardo Trindade

--
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to