Java clients, log4j2 and logback appenders for Grafana Loki
Fix for issue #86 when running on a 32bit JVM.
Upgraded Netty to the newest version (4.1.94.Final) per usual CVE issues.
SSL connections will now include SNI which will allow proxy to forward client traffic to the right server during TLS/SSL handshake. It also allows server to present one of multiple possible certificates on the same IP address and TCP port.
PR #108 adds logger_name
and thread_name
tags to configuration. This enables passing logger name and logging thread name as a Loki label with every line logged.
Thank you @jeantil for contributing the implementation.
Both Log4j2 and Logback now support option useDaemonThreads
. When enabled Tjahzi will start its two internal threads (worker and log shipper) as daemon threads. This option is disabled by default. JVM would not terminate as long as there are non daemon threads. The purpose of this option is to allow applications that do not explicitly close the logging system to still exit cleanly.
Enabling this option is not recommended as it will cause non flushed messages to be lost during shutdown.
LICENSE has been reverted to MIT.
LICENSE has been reverted to MIT.
Due to reported CVEs against older versions.
Older Netty had some CVEs.