{"id":38037770,"url":"https://github.com/newrelickk/logback-newrelic-appender","last_synced_at":"2026-01-16T19:51:21.678Z","repository":{"id":45580804,"uuid":"368132741","full_name":"newrelickk/logback-newrelic-appender","owner":"newrelickk","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-02T06:38:42.000Z","size":79,"stargazers_count":3,"open_issues_count":4,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T23:19:27.774Z","etag":null,"topics":["logback"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newrelickk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-17T09:42:13.000Z","updated_at":"2024-02-14T20:05:54.000Z","dependencies_parsed_at":"2022-07-26T13:17:35.940Z","dependency_job_id":null,"html_url":"https://github.com/newrelickk/logback-newrelic-appender","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/newrelickk/logback-newrelic-appender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelickk%2Flogback-newrelic-appender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelickk%2Flogback-newrelic-appender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelickk%2Flogback-newrelic-appender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelickk%2Flogback-newrelic-appender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newrelickk","download_url":"https://codeload.github.com/newrelickk/logback-newrelic-appender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelickk%2Flogback-newrelic-appender/sbom","scorecard":{"id":682011,"data":{"date":"2025-08-11","repo":{"name":"github.com/newrelickk/logback-newrelic-appender","commit":"999135a9b5245a1f721893e4fd3bdbb32c1f119f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"Code-Review","score":0,"reason":"Found 0/22 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy-release.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy-snapshot.yml:1","Warn: no topLevel permission defined: .github/workflows/maven.yml: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":"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/deploy-release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/newrelickk/logback-newrelic-appender/deploy-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/newrelickk/logback-newrelic-appender/deploy-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-snapshot.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/newrelickk/logback-newrelic-appender/deploy-snapshot.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-snapshot.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/newrelickk/logback-newrelic-appender/deploy-snapshot.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/newrelickk/logback-newrelic-appender/maven.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/newrelickk/logback-newrelic-appender/maven.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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'"],"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 10 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"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vmq6-5m68-f53m","Warn: Project is vulnerable to: GHSA-668q-qrv7-99fm","Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T23:29:49.269Z","repository_id":45580804,"created_at":"2025-08-21T23:29:49.270Z","updated_at":"2025-08-21T23:29:49.270Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["logback"],"created_at":"2026-01-16T19:51:21.615Z","updated_at":"2026-01-16T19:51:21.671Z","avatar_url":"https://github.com/newrelickk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logback-newrelic-appender\n\n[![Deploy release to Maven Central](https://github.com/newrelickk/logback-newrelic-appender/actions/workflows/deploy-release.yml/badge.svg)](https://github.com/newrelickk/logback-newrelic-appender/actions/workflows/deploy-release.yml)\n\nNote: This is an unofficial package. Since this is an experimental library, please consider using more robust log shipping method (e.g. fluentd) in the production.\n\n## Requirements\n\n- New Relic Logs ([License Key](https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/license-key) or [Insert API key](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#event-insert-key) is required)\n- New Relic APM Agent if you'd like to enable Logs in Context\n- logback 1.2.0 or above and com.newrelic.logging.logback 2.0 or above.\n\n## Usage\n\n1. Configure dependency. We provde our library in [Maven Central](https://search.maven.org/artifact/io.github.newrelickk/logback-newrelic-appender).\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.newrelickk\u003c/groupId\u003e\n    \u003cartifactId\u003elogback-newrelic-appender\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n2. Configure the appender. We strongly recommend using `com.newrelic.logging.logback.NewRelicEncoder` as an encoder.\n\n   Here is an configuration example. You can configure other options as long as NLog supports.\n   \n    1. With logback.xml.\n\n    ```xml\n    \u003cconfiguration debug=\"true\"\u003e\n\n        \u003cappender name=\"STDOUT\" class=\"ch.qos.logback.core.ConsoleAppender\"\u003e\n            \u003cencoder\u003e\n                \u003cpattern\u003e\n                    %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n\n                \u003c/pattern\u003e\n            \u003c/encoder\u003e\n        \u003c/appender\u003e\n\n        \u003cappender name=\"NewRelicLogs\" class=\"io.github.newrelickk.logback.NewRelicLogsAppender\"\u003e\n            \u003curl\u003ehttps://log-api.newrelic.com/logs/v1\u003c/url\u003e\n            \u003clicenseKey\u003eREPLACE_YOUR_LICENSE_KEY\u003c/licenseKey\u003e\n            \u003c!-- if you'd like to use api key, please use the following line instead of the above line.--\u003e\n            \u003c!-- \u003capiKey\u003eREPLACE_YOUR_API_KEY\u003c/apiKey\u003e --\u003e\n            \u003cbufferSize\u003e10\u003c/bufferSize\u003e\n            \u003cmaxCapacity\u003e100\u003c/maxCapacity\u003e\n            \u003cqueueSize\u003e10\u003c/queueSize\u003e\n            \u003cattributes\u003eKey1=Value1,Key2=Value2\u003c/attributes\u003e\n            \u003cencoder class=\"com.newrelic.logging.logback.NewRelicEncoder\"/\u003e\n        \u003c/appender\u003e\n        \n        \u003c!-- if you'd like to Log in Context, use the NewRelicAsyncAppender. (see New Relic doc for details) --\u003e\n        \u003cappender name=\"ASYNC\" class=\"com.newrelic.logging.logback.NewRelicAsyncAppender\"\u003e\n            \u003cappender-ref ref=\"NewRelicLogs\" /\u003e\n        \u003c/appender\u003e\n\n        \u003croot level=\"DEBUG\"\u003e\n            \u003cappender-ref ref=\"ASYNC\" /\u003e\n            \u003cappender-ref ref=\"STDOUT\" /\u003e\n        \u003c/root\u003e\n\n    \u003c/configuration\u003e\n    ```\n  \n3. (Option) Instead of specify LicenseKey or APIKey in the code or configuration file, you can specify `NEW_RELIC_LICENSE_KEY` or `NEW_RELIC_API_KEY` environment variable for a New Relic License Key.\n  \n4. Output your log with NLog.\n\n5. You will see your log in New Relic Logs.\n\n## Configuration Options\n\n- url (required): New Relic Logs endpoint. https://log-api.newrelic.com/logs/v1 (US) or https://log-api.eu.newrelic.com/log/v1 (EU).\n- licenseKey (required but you can specify through environment variable): New Relic license key.\n- bufferSize (optional, default 10): The buffer size of log events. This appender buffers until either buffersize of logs are stored or bufferSeconds has passed.\n- buferSeonds (optional, default 10): The buffer time. \n- queueSize (optional, default 256): The max number of buffering log events. The appender refuses to receive log event if the remaining capacity of buffering queue is less than 1/5 of queueSize.\n- encoder (reqruied): Logback encoder. The specified encoder must generate JSON element formatted text `{\"key\": \"value\"}`.\n- attributes (optional, default empty, introduced in 0.1.2): Statis key value paris for annotating each log message. You can use [Mapped Diagnostic Context (MDC)](http://logback.qos.ch/manual/mdc.html) if you'd like to add dynamic (thread-local) attributes. \n\n## Release Notes\n\n### 0.1.2\n\n- Add static attributes support\n\n### 0.1.1\n\n- Initial Release\n\n## File an issue\n\nPlease enable [Status Data (Internal Debug mode)](http://logback.qos.ch/manual/configuration.html#dumpingStatusData) and submit issue with your environment, configuration and logs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewrelickk%2Flogback-newrelic-appender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewrelickk%2Flogback-newrelic-appender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewrelickk%2Flogback-newrelic-appender/lists"}