[logback-user] DBAppender and markers

Leonardo Souza lsouza at amtera.com.br
Fri May 31 06:33:52 CEST 2013


Complementing myself.
The situation is even worse, markers are not part of the formatted message.
--
Leonardo S Souza



2013/5/30 Leonardo Souza <lsouza at amtera.com.br>:
> 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