[logback-dev] [JIRA] Updates for LOGBACK-1748: JsonEncoder: allow configuring to get formatted message in the json payload

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


logback / LOGBACK-1748 [Open]
JsonEncoder: allow configuring to get formatted message in the json payload

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

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

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

Bruno Ballekens created this issue on 21/Jun/23 17:08

Summary:              JsonEncoder: allow configuring to get formatted message in the json payload
Issue Type:           Improvement
Affects Versions:     1.4.8
Assignee:             Logback dev list
Components:           logback-classic
Created:              21/Jun/23 17:08
Priority:             Major
Reporter:             Bruno Ballekens
Description:
  JsonEncoder currently does not put the formatted message in the json payload. It puts the message and the argument array.
  Some of the libs we use, do log using the message format based methods,
  which now look strange in our log aggregation system (sometimes we even
  see {} as the message with then the actual message as the single member
  of the argument array).
  
  Would it be possible to make JsonEncoder configurable to put the formatted message in the json payload with `message` key


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



More information about the logback-dev mailing list