All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
6.1.0 - 2024-09-05
- Support for external encoders like Spring's StructuredLogEncoder
6.0.2 - 2024-08-24
- Improve performance of number conversion in GelfEncoder (#108); Thanks to @deathy
- Update dependency to logback 1.5.7
6.0.1 - 2024-04-13
- Setting uri in GelfHttpAppender (#103)
6.0.0 - 2024-04-04
- HTTP appender for sending GELF messages via HTTP
- Update dependency to logback 1.5.3
- Renamed shortPatternLayout to shortMessageLayout, fullPatternLayout to fullMessageLayout #100
- Removed support for truncating short messages (
maxShortMessageLength
) #100
5.0.1 - 2023-12-10
- Update to Logback 1.4.14
5.0.0 - 2023-10-21
- Support for key value pairs #86
- Add another method for adding static field to GelfEncoder #80
- Add support for truncating short messages (
maxShortMessageLength
)
- Upgrade to Java 11 (Premier Support of Java 8 ended in March 2022).
- Upgrade to Logback 1.4.11
- GZIP Compression with GelfUdpAppender #66
- Replace blank hostname and blank log message to prevent Graylog error #82
- Default of
includeMarker
changed tofalse
. Serialization format of markers has changed. - Improved MessageID creation algorithm
- Improved JSON serialization performance
- Fixed build on windows
4.0.2 - 2021-12-22
- Update dependency to logback 1.2.9 #72
4.0.1 - 2021-12-14
- Update dependency to logback 1.2.8 #67
4.0.0 - 2021-10-17
- Add poolMaxIdleTime configuration option to TCP appenders (#49) #49
- Removed MD5 for creating Message-IDs and rewrote MessageIdSupplier logic (#52) #52
- Ability to add custom fields to GelfMessage, computed from ILoggingEvent (#55) #55
- Refactor
de.siegmar.logbackgelf.GelfMessage#toJSON
to returnbyte[]
instead of String for proper performance. (#58) #58 - Improve
SimpleJsonEncoder.escapeString
memory usage. (#61) #61 - Defined 'de.siegmar.logbackgelf' as the Automatic-Module-Name (JPMS module name)
3.0.0 - 2020-03-15
- Allow encoder subclasses to customize the message before it is converted to String. #40
- Server certificate hostname verification in
GelfTcpTlsAppender
. - Allow custom implementations for supplying GELF UDP Message-IDs.
- Upgrade to Java 8 (Premier Support of Java 7 ended in July 2019).
- Change the default value of
numbersAsString
ofGelfEncoder
fromtrue
tofalse
. - Rename
trustAllCertificates
property ofGelfTcpTlsAppender
toinsecure
. - Never write timestamp in JSON using scientific notation.
- Never write static or MDC fields in JSON using scientific notation.
2.2.0 - 2019-12-14
- Add customizable keys for the logger name and thread name (#41) #41
- Fix handling of multiple markers #35
2.1.2 - 2019-11-04
- Build needs to be performed with Java < 9 #38
2.1.1 - 2019-11-03
- Fix empty hostname #34
2.1.0 - 2019-06-12
- Log numeric values as number (double precision) not string #30
2.0.1 - 2019-05-19
- Reopen the UDP channel, if it was closed #20
2.0.0 - 2019-02-12
- Update dependency to logback 1.2.3 #21
- Changed implementation from Layout to Encoder (also renamed class GelfLayout to GelfEncoder and layout to encoder in GelfAppender)
1.1.0 - 2018-01-21
- Simple connection pooling in GelfTcpAppender & round-robin host lookup in GelfUdpAppender #11
- Update dependency to logback 1.1.8 #1
- The reconnect interval could not be disabled #12
1.0.4 - 2017-04-03
- Support for GELF console logging (appendNewline in GelfLayout)
- Fix interrupted flag in GelfTcpAppender (restore flag after catching InterruptedException)
1.0.3 - 2017-01-12
- Support for logback 1.1.8 #6
1.0.2 - 2016-10-18
- Fix possible infinite loop bug with exception root cause
1.0.1 - 2016-10-08
- Support for forwarding of exception root cause
- Support for TLS encryption (with TCP)
- Initial release