wiki: preceding number = connection number

56 views
Skip to first unread message

dhartford

unread,
Aug 7, 2009, 4:54:24 PM8/7/09
to log4jdbc
This was a question I saved up, but found in comments on the blog (and
I had the same thought as Cook did) - should add to wiki :-)
-dhartford

#
Jim Cook Says:
2008-10-12 at 12:07 am

Nice library. In jdbc.sqlonly output, what is the number preceding the
sql (i.e. 1, 2, 3, …) meant to signify? At first I thought it might be
the sequence of sql calls in relation to a transaction, but that
doesn’t seem to be the case.
Reply
#
Arthur Blake Says:
2008-10-12 at 10:20 am

It’s the connection number. The number is incremented each time a new
connection is requested. I’ve used it in the past to hunt down
connection pool leaks and issues. I’ve added some more features
related to that in the upcoming 1.2 release.
Reply

Darren Hartford

unread,
Aug 7, 2009, 4:58:40 PM8/7/09
to log4...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages