My projects
Tjahzi
It is a Java client for Grafana Loki. It has a core component that implements sending batches of logs to Loki. On top of it we built log4j2 and Logback appenders, with following main advantages:
- Logging does not allocate objects nor take any locks.
- Sending data to Loki in batches allocates as little as possible.
- We also provide a no-dependency version of log4j2 appender.
- Includes in-house implementation of protobuf wire format for Loki to reduce dependencies and improve performance
Tjahzi is currently used to ship logs from tens of servers at about 10GB of logs per day.
Log4j2
Dependency info:
<dependency>
<groupId>pl.tkowalcz.tjahzi</groupId>
<artifactId>log4j2-appender-nodep</artifactId>
<version>0.9.5</version>
</dependency>
For log4j2
appender quick start guide and detailed discussions see this README.md.
Logback
Dependency info:
<dependency>
<groupId>pl.tkowalcz.tjahzi</groupId>
<artifactId>logback-appender-nodep</artifactId>
<version>0.1.0</version>
</dependency>
For Logback
appender quick start guide and detailed discussions see this README.md.