commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <>
Subject Re: [Pool] Logging what's going on...
Date Fri, 19 Mar 2004 20:14:04 GMT
The idea was to let the pool fire pool events and then a listener 
could log or otherwise react on changes in the pool size.
The implementation was stopped because commons-collection was 
implemention an event framework (currently in the sandbox)

But maybe it is easier to build the pool event system from scratch.
It would be a welcome addition.

A short term solution is of course to subclass and simply add some 
logging datatment to the borrow/return methods.

-- Dirk wrote:

> Hi,
> Are there any plans to put any logging in the Pool implementations?
> I'm using the GenericObjectPool with the DBCP and I have a thread 
> querying the getNumActive() method.  I'm seeing it fluctuate between two 
> different values (when my application is idle).  Its probably because 
> I've got my evictions set-up wrongly.  Anyway that's not my issue here.
> Logging would be a wonderful addition when debugging configuration 
> issues (like mine), object exhaustion problems and being able to see 
> what's actually 
> happening when in use.  Are there any plans?
> I'll help if you think this will be a useful addition.
> Tim

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message