hi all,
   I have a problem in using AsyncAppender. Whenever I uses
RollingFileAppender which extends from FileAppender while inturn extends
from WriteAppender which extends from AsyncAppender, a large number of
threads are created and finally I got out of Memory Exception. My
properties file is as follows:
log4j.category.debug.com.XYZ=DEBUG, debugProcessLog
log4j.additivity.debug.com.XYZ=false
log4j.appender.debugProcessLog=com.XYZ.logger.RollingFileAppender
log4j.appender.debugProcessLog.File=c:/usr/log/process_debug.log
log4j.appender.debugProcessLog.maxFileSize=1000
log4j.appender.debugProcessLog.maxBackupIndex=5
log4j.appender.debugProcessLog.BufferSize=1000
log4j.appender.debugProcessLog.Append=true
log4j.appender.debugProcessLog.layout=org.apache.log4j.PatternLayout
log4j.appender.debugProcessLog.layout.ConversionPattern=%d{DATE} : %-5p
: %m%n

Please help me out as early as possible.

Regards
Vivek
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Reply via email to