百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

loki-logback-appender

> 后端框架
开源

为 Grafana Loki 实现快速、轻量级的 Logback 追加器

388 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

为 Grafana Loki 实现快速、轻量级的 Logback 追加器

loki-logback-appender

Loki4j aims to be the fastest and the most lightweight implementation of Logback appender for Grafana Loki. This project is unofficial and community-driven.

Please proceed to the microsite for more information:

  • Quick Start
  • Configuration Reference
  • Migration Guide

If your company runs Loki4j in production, sponsoring the project is how you help keep it fast, current, and well maintained for the long run.

If you have found this project helpful, please drop a :star:!

Key features

  • Dynamic generation of Loki labels and metadata out of any Logback pattern, MDC, KVP, or SLF4J markers
  • Structured metadata support
  • Fast JSON layout for log message formatting
  • Support of JSON and Protobuf Loki API flavors
  • Compatibility with Grafana Cloud
  • Zero-dependency
  • Performance metrics

More details and links to the examples can be found here.

Contributing

Please start with the Contribution guidelines.

Building and testing the project

Please make sure the following software is installed on your machine so you can build and test the project:

  • Java 17 or later

Check out the project in the directory on your local machine and run:

bash
./gradlew check

Project status

Loki4j is stable and actively maintained. The main logging features are implemented and the configuration API is settled, so releases now focus on:

  • compatibility with new Grafana Loki versions
  • security patches and dependency updates
  • bug fixes and issue triage for teams running Loki4j in production

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javagrafanagrafana-lokijavajson

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架