Releases: tkowalcz/tjahzi
0.9.21 More flexible connection configuration
Adds more configuration options for connections to Loki. Now user can specify a "connection url" that defines host, port, protocol (http/https) and endpoint to use. Applies to both log4j and Logback.
0.9.20 Log4j upgrade to 2.17.0
tjahzi-parent-0.9.20 [skip ci] [maven-release-plugin] copy for tag tjahzi-parent-0.9.20
0.9.19 CVE-2021-44228 fix (log4j 2.16.0)
Upgraded to log4j2 version that fixes https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228.
0.9.18 Race condition bugfix and new config option
- Fixes #74 where buffer was not thread local and multiple threads were using same instance. Thanks to @thgau for reporting this.
- Re. #77: adds configuration option to control how often log shipping agent wakes up to check if there is enough logs to be sent to Loki. What's more important is that default value of 1ms was changed to 10ms to reduce CPU usage.
0.9.17 Allocation reductions
0.9.16 Flush pending logs on shutdown or reconfiguration
#39 - On logging system shutdown (or reconfiguration) Log buffer is flushed and its content is send to Loki. This is implemented for both log4j and Logback.
0.9.15 MDC support in Logback appender
- [Logback] #65 - support added for dynamically creating labels out of MDC contents. Thanks @efimmatytsin for contribution.
- Changed api of MonitoringModule to not use Netty classes. This is part of an effort to reduce dependency on Netty in
core
so we can abstract away http client and make it pluggable. - [Log4j] Improved documentation and added test for programmatic configuration.
0.9.14 PatternLayout patterns support in dynamic labels
#56 You can use patterns from PatternLayout to generate label values at runtime. We reuse internal log4j classes for this so performance and allocation guarantees are the same. Specifically most of the patterns are allocation free.
See documentation for details and examples.
(This is the same release as 0.9.13 which was not published to maven central)
0.9.13 PatternLayout patterns support in dynamic labels
#56 You can use patterns from PatternLayout to generate label values at runtime. We reuse internal log4j classes for this so performance and allocation guarantees are the same. Specifically most of the patterns are allocation free.
See documentation for details and examples.