Description
Based on KCS: https://access.redhat.com/solutions/287523, JBoss EAP 6.x is able to log statistics of datasource pool, but the volume is huge then that of JBoss EAP 5.x.
The output is as below:
~~~
[org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] (http-/10.10.11.181:8080-6) returnConnection(1d9ffbbd, false)
ManagedConnectionPool: 7ec42e5a
Method: returnConnection(1d9ffbbd, false)
ManagedConnectionFactory:
Class: org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory
Object: 2785552b
ConnectionListenerFactory:
Class: org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl
Object: 229a8e52
Pool:
Name: syncTargetDS
PoolConfiguration:
MinSize: 0
MaxSize: 20
BlockingTimeout: 30000
IdleTimeoutMinutes: 30
BackgroundValidation: false
BackgroundValidationMillis: 0
StrictMin: false
UseFastFail: false
Available (1):
46306c48 (NORMAL)
InUse (1):
1d9ffbbd (NORMAL)
Statistics:
ActiveCount: 0
AvailableCount: 0
AverageBlockingTime: 0
AverageCreationTime: 0
CreatedCount: 0
DestroyedCount: 0
InUseCount: 0
MaxCreationTime: 0
MaxUsedCount: 0
MaxWaitCount: 0
MaxWaitTime: 0
TimedOut: 0
TotalBlockingTime: 0
TotalCreationTime: 0
~~~
In JBoss EAP 5.x the output is(each digit represent a pool parameter):
~~~
2015-07-07 00:01:41,236 INFO [jca.lis] 0,150,10,2166,2156,11,0
~~~
Can we provide a patch to make this log as sample as JBoss EAP 5.x?