logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Beransky" <dmitry.ma...@gmail.com>
Subject AsyncAppender
Date Tue, 28 Aug 2007 17:28:15 GMT
Hi,

Are there any tricks to using the asyncronous appender class?  I've
added the following to my log4j.xml file:

   <appender name="A_FILE" class="org.apache.log4j.AsyncAppender">
       <appender-ref ref="FILE"/>
   </appender>

and as soon as I switch the root from FILE to A_FILE, logging stops.
The file is still being created though by the nested appender.


Dmitry

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message