You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by peter lawrey <pe...@edgeci.com> on 2009/12/01 18:45:37 UTC

Using the AsyncAppender

Hello,

The pax-logging-service contains the AsyncAppender. 

Under log4j you need to use the xml configuration file to configure it
as its configuration is hierarchical. i.e. it is an appender which
writes to other appenders.

Is there any way to configure it using felix e.g. via
ord.ops4j.pax.logging.cfg?

 

The basic requirement is having the logging occur in a background thread
to minimise latency.

 

The other option is to write my own appender.  Are there any tricks to
writing custom appenders for pax-logging-service version 1.4.  I have
written one for log4j before.

 

Thank you in advance,

   Peter.