logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stauffer <stauffer.ja...@gmail.com>
Subject Re: AsyncAppender with dbAppender
Date Thu, 18 Aug 2005 16:50:25 GMT
We tried to use AsyncAppended with a Database Appender and had similar
problems where it would hang.  We just want back to using the Database
Appender directly.

On 8/17/05, Kuldeep Kumar <kuldeep.kumar@wellsfargo.com> wrote:
> Hi,
>   I am trying a prototype using AsyncAppender with dbAppender to centralize
> the logging information from multiple clustered servers. Having the logging in
> the database tables also enables quick access to the logged information.
> 
> In the prototype, when I try to log a bunch of messages, the AsyncAppender
> seems to wait for the buffer to clear out and the buffer does not seem to
> flush at all. I have tried to log around 150 messages with the BufferSize of
> 128 and quite a few different combinations. It appears to work once and then
> the main thread seems to hang. I tried this with a standalone simple java
> application and also within a web-app, but I see very similar results. Just an
> fyi, I used datasource with the web-app.
> 
> I was kind of excited about the prototype and having this to be implemented in
> the real project, but AsyncAppender seems to be a bottleneck.
> 
> Any suggestions would be greatly appreciated.
> 
> Thanks,
> Kuldeep.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message