Loki4j aims to be the fastest and the most lightweight implementation of Logback appender for Loki. This project is unofficial and community-driven.
Please proceed to the microsite for more information:
If you are interested in this project, please drop a ⭐!
- Support for both JSON and Protobuf formats
- Optionally order log records before sending to Loki
- Use Logback patterns for labels and messages formatting
- No JSON library bundled
- Zero-dependency (for Java 11+)
Please start with the Contribution guidelines.
Please make sure the following software is installed on you machine so you can build and test the project:
- Java 11 or later
- Gradle 6.7 or later
Check out the project to the directory on you local machine and run:
gradle checkThis project is in active development stage. In rare cases breaking changes (config format, class locations, etc.) might be introduced in minor versions. Such cases will be explicitly documented for each release. Please check Releases page before you upgrade.