[logback-user] DBAppender - can I use my own tables?

ceki ceki at qos.ch
Fri Dec 23 11:02:14 CET 2011


Hi Greg,

You are right for logback-access' DBAppender, logback-classic's 
DBAppender uses a  DBNameResolver where the table names and column names 
can be customized.

On 23.12.2011 10:11, Greg Thomas wrote:
> On 22 December 2011 17:44, Nadia Kunkov<nkunkov at escholar.com>  wrote:
>> Hello everyone – I wanted to use the logback  DBAppender but in the
>> documentation it says that it logs to a set of 3 specific tables.
>>
>> Is it possible to change the tables and use some other ones?
>
> No; the table names are hard coded in to the source
> (https://github.com/ceki/logback/blob/master/logback-access/src/main/java/ch/qos/logback/access/db/DBAppender.java)

> Greg


-- 
Ceki
http://twitter.com/#!/ceki


More information about the Logback-user mailing list