how to log database name

30 views
Skip to first unread message

andrew

unread,
Mar 28, 2011, 8:25:52 AM3/28/11
to log4jdbc
Hello,


I'm currently evaluating log4jdbc for usage in an enterprise
application having connections to several databases.

Is it possible to configure log4jdbc such that the database name is
logged as well ?
Because similar SQL Statements are send to different databases, it
would be difficult to distinguish which log belongs to which database
(if the database name is not logged).

kind regards,
Andreas

Arthur Blake

unread,
Mar 28, 2011, 9:10:01 PM3/28/11
to log4jdbc
Currently it is not possible, but it would not be too hard to add that
feature with a little work.
Reply all
Reply to author
Forward
0 new messages