[logback-user] DBAppender and markers

ceki ceki at qos.ch
Fri May 31 09:03:33 CEST 2013


Hi Leonardo,

Marker information should be part of the data written into the DB. 
Please create a jira issue for this bug. Better yet, provide a patch to 
DBAppender by way of a github pull request.

Best regards,

On 31.05.2013 03:34, Leonardo Souza wrote:
> 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


-- 
Ceki
65% of statistics are made up on the spot


More information about the Logback-user mailing list