{"id":33179571,"url":"https://github.com/loki4j/loki-logback-appender","last_synced_at":"2026-01-14T03:20:52.199Z","repository":{"id":40378749,"uuid":"308847657","full_name":"loki4j/loki-logback-appender","owner":"loki4j","description":"Fast and lightweight implementation of Logback appender for Grafana Loki","archived":false,"fork":false,"pushed_at":"2025-12-20T21:40:04.000Z","size":1276,"stargazers_count":375,"open_issues_count":1,"forks_count":30,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-22T19:50:09.107Z","etag":null,"topics":["grafana-loki","java","json","logback","logging","loki","loki-logback-appender","loki4j","protobuf"],"latest_commit_sha":null,"homepage":"https://loki4j.github.io/loki-logback-appender/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loki4j.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.txt","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-31T09:32:16.000Z","updated_at":"2025-12-20T21:40:08.000Z","dependencies_parsed_at":"2023-02-12T10:31:19.954Z","dependency_job_id":"d21ff6fb-ab21-43c5-8fee-54e47c6bc252","html_url":"https://github.com/loki4j/loki-logback-appender","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/loki4j/loki-logback-appender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loki4j%2Floki-logback-appender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loki4j%2Floki-logback-appender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loki4j%2Floki-logback-appender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loki4j%2Floki-logback-appender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loki4j","download_url":"https://codeload.github.com/loki4j/loki-logback-appender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loki4j%2Floki-logback-appender/sbom","scorecard":{"id":597690,"data":{"date":"2025-08-11","repo":{"name":"github.com/loki4j/loki-logback-appender","commit":"89db20b44662c2c916d5d91618da5b1ffdb6275c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"16 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-and-test.yaml:1","Warn: no topLevel permission defined: .github/workflows/compatibility-tests.yaml:1","Warn: no topLevel permission defined: .github/workflows/deploy-docs.yaml:1","Warn: no topLevel permission defined: .github/workflows/integration-tests.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish-logback-appender.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish-protobuf.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/build-and-test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/build-and-test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-test.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/build-and-test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-tests.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/compatibility-tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-tests.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/compatibility-tests.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/compatibility-tests.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/compatibility-tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-docs.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/deploy-docs.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-docs.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/deploy-docs.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-tests.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/integration-tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-tests.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/integration-tests.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-tests.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/integration-tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-tests.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/integration-tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration-tests.yaml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/integration-tests.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration-tests.yaml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/integration-tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-logback-appender.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-logback-appender.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-logback-appender.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-logback-appender.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-logback-appender.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-logback-appender.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-protobuf.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-protobuf.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-protobuf.yaml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-protobuf.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-protobuf.yaml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-protobuf.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-protobuf.yaml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/loki4j/loki-logback-appender/publish-protobuf.yaml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/deploy-docs.yaml:28","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish-logback-appender.yaml:10"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'","Warn: branch protection not enabled for branch 'v1.5.x'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T23:34:02.776Z","repository_id":40378749,"created_at":"2025-08-20T23:34:02.776Z","updated_at":"2025-08-20T23:34:02.776Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grafana-loki","java","json","logback","logging","loki","loki-logback-appender","loki4j","protobuf"],"created_at":"2025-11-16T03:00:36.838Z","updated_at":"2026-01-14T03:20:52.194Z","avatar_url":"https://github.com/loki4j.png","language":"Java","readme":"# loki-logback-appender\n\n![Build](https://img.shields.io/github/actions/workflow/status/loki4j/loki-logback-appender/build-and-test.yaml?branch=main)\n![Maven Central](https://img.shields.io/maven-central/v/com.github.loki4j/loki-logback-appender?color=blue)\n\nLoki4j aims to be the fastest and the most lightweight implementation of\n[Logback](http://logback.qos.ch/) appender for [Grafana Loki](https://grafana.com/oss/loki/).\nThis project is unofficial and community-driven.\n\nPlease proceed to the microsite for more information:\n\n- [Quick Start](https://loki4j.github.io/loki-logback-appender/#quick-start)\n- [Configuration Reference](https://loki4j.github.io/loki-logback-appender/docs/configuration)\n- [Migration Guide](https://loki4j.github.io/loki-logback-appender/docs/migration)\n\nIf you have found this project helpful, please drop a :star:!\n\n## Key features\n\n- Dynamic generation of Loki labels and metadata out of any Logback pattern, MDC, KVP, or SLF4J markers\n- Structured metadata support\n- Fast JSON layout for log message formatting\n- Support of JSON and Protobuf Loki API flavors\n- Compatibility with Grafana Cloud\n- Zero-dependency\n- Performance metrics\n\nMore details and links to the examples can be found [here](https://loki4j.github.io/loki-logback-appender/#key-features).\n\n## Contributing\n\nPlease start with the [Contribution guidelines](CONTRIBUTING.md).\n\n## Building and testing the project\n\nPlease make sure the following software is installed on your machine\nso you can build and test the project:\n\n- Java 11 or later\n\nCheck out the project in the directory on your local machine and run:\n\n```sh\n./gradlew check\n```\n\n## Project status\n\nAt the moment all the main logging features have been implemented and stabilized.\n\nFurther development will be concentrated on bug fixes (if any), keeping up with new versions of Loki, and\nimproving the codebase so it's easier to maintain.\n","funding_links":[],"categories":["日志库"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floki4j%2Floki-logback-appender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floki4j%2Floki-logback-appender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floki4j%2Floki-logback-appender/lists"}