[logback-dev] [JIRA] Updates for LOGBACK-1749: In the new JsonEncoder, the throwable's cause(s) are not included.

logback developers list logback-dev at qos.ch
Wed Jun 21 18:07:00 CEST 2023


logback / LOGBACK-1749 [Open]
In the new JsonEncoder, the throwable's cause(s) are not included.

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

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-1749

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

Christopher Holt created this issue on 21/Jun/23 17:55

Summary:              In the new JsonEncoder, the throwable's cause(s) are not included.
Issue Type:           Bug
Affects Versions:     1.3.8
Assignee:             Logback dev list
Components:           logback-classic
Created:              21/Jun/23 17:55
Environment:          logback 1.3.8, running in tomcat.
Labels:               logging
Priority:             Major
Reporter:             Christopher Holt
Description:
  With this appender:
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
      <encoder class="ch.qos.logback.classic.encoder.JsonEncoder"/>
  </appender>
  The throwable that get get encoded only has it's immediate stack trace.  It needs to include the throwable's cause (recursively, maybe up to some sanity limit?)


==============================
 This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af)



More information about the logback-dev mailing list