Hello M. Blake,
Thank for your very useful library.
I used recently and found the need for a little enhancement, I had to audit a project using Apache Ofbiz where the calls to JDBC we issued from different packages.
So the parameter log4jdbc.debug.stack.prefix was not enough for me.
I added a new one called:
log4jdbc.debug.stack.prefixFile
That takes a file containing a list of package patterns:
org\.ofbiz\.accounting\.agreement\..*
org\.ofbiz\.accounting\.finaccount\..*
org\.ofbiz\.accounting\.invoice\..*
org\.ofbiz\.accounting\.payment\..*
org\.ofbiz\.accounting\.tax\..*
org\.ofbiz\.accounting\.util\..*
org\.ofbiz\.accounting\..*
org\.ofbiz\.assetmaint\..*
org\.ofbiz\.common\.geo\..*
org\.ofbiz\.content\.blog\..*
org\.ofbiz\.content\.cms\..*
org\.ofbiz\.content\.compdoc\..*
org\.ofbiz\.content\.content\..*
org\.ofbiz\.content\.data\..*
org\.ofbiz\.content\.email\..*
This enables tracing the JDBC issuer when the DAO is not contained in only one package
DriverSpy patch that reads the log4jdbc.debug.stack.prefixFile
File Added: Sl4jSpyLogDelegator-patch.txt
Slf4jSpyLogDelegator patch that analyses the ClassName