[logback-dev] [JIRA] Updates for LOGBACK-1584: ListAppender support for Encoders

QOS.CH (JIRA) noreply-jira at qos.ch
Wed Oct 27 17:13:00 CEST 2021


logback / LOGBACK-1584 [Open]
ListAppender support for Encoders

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1584

==============================
 Issue created
------------------------------

Mateus Dubiela Oliveira created this issue on 27/Oct/21 5:02 PM
Summary:              ListAppender support for Encoders
Issue Type:           Improvement
Affects Versions:     1.2.6
Assignee:             Logback dev list
Components:           logback-core
Created:              27/Oct/21 5:02 PM
Labels:               appender
Priority:             Minor
Reporter:             Mateus Dubiela Oliveira
Description:
  During tests of logback plugins is important to add have a way to safely test the encoder results.
  
  Right now we can use `ch.qos.logback.core.read.ListAppender` to capture the generated log messages, however those only capture the events by themselves, not allowing for encoders and layouts to process the messages.
  
  Here the suggestion is to make the `ListAppender` support for an `Encoder` attribute which will allow for `Layouts` and deeper elements to affect the message and allow for more complete tests. 


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the logback-dev mailing list