[logback-user] DBNameResolver
Roy Cronise
sweep at ccyor.com
Fri Jan 28 02:13:55 CET 2011
Merritt:
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).
Roy
More information about the Logback-user
mailing list