Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1748

JsonEncoder: allow configuring to get formatted message in the json payload

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.5.0
    • 1.4.8
    • logback-classic
    • None

    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

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            bruno.ballekens Bruno Ballekens
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: