[logback-user] DBNameResolver

Roy Cronise sweep at ccyor.com
Fri Jan 28 02:13:55 CET 2011


DBAppenderBase isn't in the loop, but has the event id column
name(EVENT_ID) coded into it and doesn't use the DBNameResolver.  The
event id column name is needed when they create the prepared statement
in DBAppenderBase and the database supports getGeneratedKeys.  Maybe
adding an abstract "getEventIdCol" in DBAppenderBase and implementing
it in DBAppender(which has the DBNameResolver).


More information about the Logback-user mailing list