On 2017-11-30 23:07, Matt Sicker <boa...@gmail.com> wrote: > You should be able to create one the same way you create any other appender > using programmatic configuration. > > On 30 November 2017 at 06:36, gaurav9...@gmail.com <gaurav9...@gmail.com> > wrote: > > > Hi log4j2 users, > > > > I want to create jdbc appender using programmatic configuration. > > > > Please provide the programmatic configuration if you already have or guide > > me to create it. > > > > P.S. I am able to create JDBCAppender using xml configuration > > > > Thanks > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > > > > > > -- > Matt Sicker <boa...@gmail.com> > Hi Matt,
I am able to add "tableName" attribute for JDBC AppenderComponentBuilder But not the remaining stuff like ConnectionFactory class,method and Columns. Please help --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org