{"id":43786081,"url":"https://github.com/coditory/logback-filters","last_synced_at":"2026-02-05T19:04:01.923Z","repository":{"id":57718390,"uuid":"336649925","full_name":"coditory/logback-filters","owner":"coditory","description":"Additional logback filters","archived":false,"fork":false,"pushed_at":"2026-02-02T02:56:49.000Z","size":196,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-02T12:32:32.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coditory.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/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":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["coditory"]}},"created_at":"2021-02-06T22:28:03.000Z","updated_at":"2026-02-02T02:55:10.000Z","dependencies_parsed_at":"2023-11-06T03:26:15.759Z","dependency_job_id":"175b67b8-2659-4272-a6ec-ead7c811b8f7","html_url":"https://github.com/coditory/logback-filters","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coditory/logback-filters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Flogback-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Flogback-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Flogback-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Flogback-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coditory","download_url":"https://codeload.github.com/coditory/logback-filters/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Flogback-filters/sbom","scorecard":{"id":298340,"data":{"date":"2025-08-11","repo":{"name":"github.com/coditory/logback-filters","commit":"869c7df1659212cbbd87a77d3ff6afe1d07f1a53"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 30 changesets","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":"Dangerous-Workflow","score":0,"reason":"dangerous workflow patterns detected","details":["Warn: untrusted code checkout '${{ github.event.workflow_run.head_sha }}': .github/workflows/build-report.yml:14"],"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/dependabot.yml:11","Info: jobLevel 'contents' permission set to 'read': .github/workflows/labeler.yml:9","Warn: no topLevel permission defined: .github/workflows/build-report.yml:1","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/dependabot.yml:1","Warn: no topLevel permission defined: .github/workflows/labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1"],"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/build-report.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build-report.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-report.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build-report.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-report.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build-report.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-report.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build-report.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/dependabot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/labeler.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/labeler.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:153: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/coditory/logback-filters/stale.yml/master?enable=pin","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.2 not signed: https://api.github.com/repos/coditory/logback-filters/releases/90524497","Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/coditory/logback-filters/releases/76798278","Warn: release artifact v0.1.2 does not have provenance: https://api.github.com/repos/coditory/logback-filters/releases/90524497","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/coditory/logback-filters/releases/76798278"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/coditory/.github/SECURITY.md:1","Info: Found linked content: github.com/coditory/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/coditory/.github/SECURITY.md:1"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-17T20:05:54.059Z","repository_id":57718390,"created_at":"2025-08-17T20:05:54.059Z","updated_at":"2025-08-17T20:05:54.059Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29130113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:55:47.139Z","status":"ssl_error","status_checked_at":"2026-02-05T18:55:04.010Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-02-05T19:04:01.852Z","updated_at":"2026-02-05T19:04:01.909Z","avatar_url":"https://github.com/coditory.png","language":"Groovy","readme":"# Logback Filters\n[![Build](https://github.com/coditory/logback-filters/actions/workflows/build.yml/badge.svg)](https://github.com/coditory/logback-filters/actions/workflows/build.yml)\n[![Coverage](https://codecov.io/gh/coditory/logback-filters/branch/master/graph/badge.svg?token=CBPQ8FQYTF)](https://codecov.io/gh/coditory/logback-filters)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.coditory.common/logback-filters/badge.svg)](https://mvnrepository.com/artifact/com.coditory.common/logback-filters)\n\nAdditional [filters](http://logback.qos.ch/manual/filters.html) for [Logback](http://logback.qos.ch) - Java logging\nframework.\n\n## Installation\n\nAdd to your `build.gradle`:\n\n```gradle\ndependencies {\n    implementation \"com.coditory.logback:logback-filters:0.1.2\"\n}\n```\n\n## AggregatingTurboFilter\n\nLogback filter that aggregates multiple logs into single one. This filter was extracted\nfrom [Hermes (message broker)](https://github.com/allegro/hermes/blob/master/hermes-common/src/main/java/pl/allegro/tech/hermes/infrastructure/logback/AggregatingTurboFilter.java)\nand enriched with new capabilities.\n\nFilter options:\n\n- `reportingIntervalMillis` - time interval in which logs are passed to output. Be default, interval is set up to `10s`.\n- `aggregationMessageToken` - token in the log message that triggers aggregation. By default, token filtration is\n  disabled.\n- `aggregatedLogger` - list of loggers that have aggregated logs\n\nFilter drawbacks:\n\n- Aggregated logs are not reported in order\n- Aggregated logs have the same thread name `aggregating-filter-%d-thread-0`. `%d` is replaced with filter index in case\n  there are multiple `AggregatingTurboFilters` defined.\n\nSample configuration:\n\n```xml\n\u003cconfiguration\u003e\n    \u003cturboFilter class=\"com.coditory.logback.AggregatingTurboFilter\"\u003e\n        \u003creportingIntervalMillis\u003e3000\u003c/reportingIntervalMillis\u003e\n        \u003caggregatedLogger\u003ecom.coditory.sandbox.Sandbox\u003c/aggregatedLogger\u003e\n    \u003c/turboFilter\u003e\n\n    \u003cappender name=\"STDOUT\" class=\"ch.qos.logback.core.ConsoleAppender\"\u003e\n        \u003cencoder\u003e\n            \u003cpattern\u003e%d{HH:mm:ss.SSS} [%thread] %-5level %logger{10} - %msg%n\u003c/pattern\u003e\n        \u003c/encoder\u003e\n    \u003c/appender\u003e\n\n    \u003clogger name=\"com.coditory\" level=\"debug\"/\u003e\n\n    \u003croot level=\"info\"\u003e\n        \u003cappender-ref ref=\"STDOUT\"/\u003e\n    \u003c/root\u003e\n\u003c/configuration\u003e\n```\n\n## Aggregate by log message\n\nTo aggregate over 3s logs from `com.coditory.sandbox.SomeClass` by log message (with resolved parameters) use following\nconfiguration:\n\n```xml\n\u003cturboFilter class=\"com.coditory.logback.AggregatingTurboFilter\"\u003e\n    \u003creportingIntervalMillis\u003e3000\u003c/reportingIntervalMillis\u003e\n    \u003caggregatedLogger\u003ecom.coditory.sandbox.Sandbox\u003c/aggregatedLogger\u003e\n\u003c/turboFilter\u003e\n```\n\nExample:\n\n```java\n@Slf4j\nclass Sandbox {\n    public static void main(String[] args) throws InterruptedException {\n        log.info(\"Hello {}\", \"James\");\n        log.info(\"Hello {}\", \"Harry\");\n        log.info(\"Hello {}\", \"James\");\n        log.info(\"Hello {}\", \"Mary\");\n        log.info(\"Hello {}\", \"Mary\", new RuntimeException(\"error\"));\n        log.info(\"Hello {}\", \"Mary\");\n        Thread.sleep(5000);\n    }\n}\n// Output:\n// 16:50:39.632 [aggregating-filter-0-thread-0] INFO c.c.s.Sandbox - Hello Mary [occurrences=3]\n// java.lang.RuntimeException: error\n//   at com.coditory.sandbox.Sandbox.main(Sandbox.java:14)\n// 16:50:39.638 [aggregating-filter-0-thread-0] INFO c.c.s.Sandbox - Hello James [occurrences=2]\n// 16:50:39.638 [aggregating-filter-0-thread-0] INFO c.c.s.Sandbox - Hello Harry [occurrences=1]\n```\n\n## Aggregate by log template\n\nTo aggregate logs from `com.coditory.sandbox.SomeClass` by log message template (without resolved parameters):\n\n```xml\n\u003cturboFilter class=\"com.coditory.logback.AggregatingTurboFilter\"\u003e\n    \u003caggregationKey\u003etemplate\u003c/aggregationKey\u003e\n    \u003caggregatedLogger\u003ecom.coditory.sandbox.SomeClass\u003c/aggregatedLogger\u003e\n\u003c/turboFilter\u003e\n```\n\nExample:\n\n```java\n@Slf4j\nclass Sandbox {\n  public static void main(String[] args) throws InterruptedException {\n    log.info(\"Hello {}\", \"Mary\");\n    log.info(\"Hello {}\", \"Mary\", new RuntimeException(\"error\"));\n    log.info(\"Hello {}\", \"Mary\");\n    log.info(\"Hello {}\", \"James\");\n    log.info(\"Hello {}\", \"Harry\");\n    log.info(\"Hello {}\", \"James\");\n    Thread.sleep(5000);\n  }\n}\n// Output:\n// 16:49:50.244 [aggregating-filter-0-thread-0] INFO c.c.s.Sandbox - Hello Mary [occurrences=6]\n// java.lang.RuntimeException: error\n//    at com.coditory.sandbox.Sandbox.main(Sandbox.java:11)\n```\n\n## Aggregate log messages with aggregation token\n\nTo aggregate logs from `com.coditory.sandbox.SomeClass` with message containing `[aggregate]` use following\nconfiguration:\n\n```xml\n\u003cturboFilter class=\"com.coditory.logback.AggregatingTurboFilter\"\u003e\n    \u003creportingIntervalMillis\u003e3000\u003c/reportingIntervalMillis\u003e\n    \u003caggregationMessageToken\u003e[aggregate]\u003c/aggregationMessageToken\u003e\n    \u003caggregatedLogger\u003ecom.coditory.sandbox.SomeClass\u003c/aggregatedLogger\u003e\n\u003c/turboFilter\u003e\n```\n\nExample:\n\n```java\n@Slf4j\nclass Sandbox {\n  public static void main(String[] args) throws InterruptedException {\n    log.info(\"Hello {}\", \"James\");\n    log.info(\"[aggregate] Hello {}\", \"Mary\");\n    log.info(\"[aggregate] Hello {}\", \"Mary\");\n    log.info(\"[aggregate] Hello {}\", \"Mary\");\n    log.info(\"Hello {}\", \"Mary\");\n    log.info(\"Hello {}\", \"Mary\");\n    Thread.sleep(5000);\n  }\n}\n// Output:\n// 16:48:39.281 [main] INFO c.c.s.Sandbox - Hello James\n// 16:48:39.284 [main] INFO c.c.s.Sandbox - Hello Mary\n// 16:48:39.285 [main] INFO c.c.s.Sandbox - Hello Mary\n// 16:48:42.248 [aggregating-filter-0-thread-0] INFO c.c.s.Sandbox - Hello Mary [occurrences=3]\n```\n","funding_links":["https://github.com/sponsors/coditory"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoditory%2Flogback-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoditory%2Flogback-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoditory%2Flogback-filters/lists"}