[logback-user] Configure logback to dump debug info when an error occurs?

2011-01-26 Thread Satish Kumar
Hi, We currently use log4j and logging level in our production environment is set to ERROR, but in some cases having debug messages would help us in identifying the root causes of the errors. So wondering if it is possible to configure logback to dump debug info when an error occurs? My needs

[logback-user] DBNameResolver

2011-01-26 Thread Roy Cronise
I am trying to use a DBNameResolver I've nbsp;written with DBAppender. nbsp;My tables and column names must be different than the default. I'm having an issue in the class DBAppenderBase since it looks like the EVENT_ID column name is used if generated keys are supported and doesn't use the

Re: [logback-user] DBNameResolver

2011-01-26 Thread Merritt H Derr
Roy: I've not looked at this in detail just now, but the SQL strings that are used to write to the databases are built in the SQLBuilder class methods called from the DBAppender start method. They seem make use of the EVENT_ID name through the name resolver while doing so. DBAppenderBase