github logfellow/logstash-logback-encoder logstash-logback-encoder-7.2

2 months ago

Bug Fixes

  • #722 Fix a memory leak appearing in Java 16+ when logging from a thread managed by a ForkJoinPool (@caesar-ralf)

Improvements

  • #807 Allow inline generation of stacktrace (@MarneusCalgarXP)

    The ShortenedThrowableConverter now allows you to specify the line separator to use instead of a new line by default. This is particularly useful to format a stacktrace on a single line when using rsyslog or fluentd when you don't want to use json format.
    For example:

<conversionRule conversionWord="stack"
                converterClass="net.logstash.logback.stacktrace.ShortenedThrowableConverter" />

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
   <encoder>
      <pattern>... %stack{full,40,500,rootFirst,inline} ...</pattern>
   </encoder>
</appender>

Dependency version changes

UsageDependencyOld VersionNew Version
Runtimejackson2.13.2.202203282.13.3

Don't miss a new logstash-logback-encoder release

NewReleases is sending notifications on new releases.