logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Stewart" <GrahamStew...@compuserve.com>
Subject Async Appender buffer size
Date Sun, 14 Jan 2001 22:11:57 GMT
Are there any plans to open up control of size of the BoundedFIFO in
AsyncAppender?

Normally 128 is fine. But when my webapp gets busy the buffer fills and
logging then
uses valuable cpu just when I don't need it.

Would be great if I could set the buffer size in the XML config:

	<appender name="ASYNC" class="org.log4j.AsyncAppender">
		<param name="BufferSize" value="256"/>
		<appender-ref ref="stdout"/>
		<appender-ref ref="R"/>
	</appender>

cheers

Graham


Mime
View raw message