Some changes may require to update your configuration.
- Version 5.0.0 of this library upgraded from Java 8 to Java 11.
- UDP compression configuration changed from
useCompression
tocompressionMethod
and now defaults to GZIP instead of ZLIB. - Default of
includeMarker
changed tofalse
. Serialization format of markers has changed.
- No changes on the configuration were introduced. All changes are only relevant if used programmatically.
- API of MessageIdSupplier has changed.
- GelfEncoder uses different field mapping approach.
- GelfMessage returns JSON as byte[] instead of String.
- Version 3.0.0 of this library upgraded from Java 7 to Java 8.
- The server's certificate hostname now gets verified by
GelfTcpTlsAppender
. - The
trustAllCertificates
property ofGelfTcpTlsAppender
was renamed toinsecure
. - The default value of
numbersAsString
ofGelfEncoder
was changed fromtrue
tofalse
.
- Version 2.0.0 of this library introduced a configuration change.
Old format:
<layout class="de.siegmar.logbackgelf.GelfLayout">
...
</layout>
New format:
<encoder class="de.siegmar.logbackgelf.GelfEncoder">
...
</encoder>
This change was introduced, as the API of the Encoder interface changed in Logback 1.2.0.