[logback-user] DBAppender and markers

Leonardo Souza lsouza at amtera.com.br
Fri May 31 03:34:58 CEST 2013


Hi,

We have a system with a lot of log statements using markers,

  this.logger.info(this.marker, "ex fvmo dare lvcem");

We are planning to store the logs in a database using DBAppender but
ther marker do not have a column, only appears in the
formatted_message field. We will query this database filtering by the
markers, a sql like query is not a desirable solution.

Anyone has a better idea instead of creating a custom appender?

thanks ..

--
Leonardo S Souza


More information about the Logback-user mailing list