{"id":15178571,"url":"https://github.com/infinite-technology/bobbin","last_synced_at":"2025-10-26T17:30:50.449Z","repository":{"id":57735600,"uuid":"160186922","full_name":"INFINITE-TECHNOLOGY/BOBBIN","owner":"INFINITE-TECHNOLOGY","description":"Revolutionary high-performance Groovy/Java Slf4j logger","archived":false,"fork":false,"pushed_at":"2021-01-21T18:26:59.000Z","size":473,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T22:35:37.421Z","etag":null,"topics":["groovy","logging","slf4j","slf4j-api","slf4j-binding","slf4j-loggers"],"latest_commit_sha":null,"homepage":"https://i-t.io/Bobbin/","language":"Groovy","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/INFINITE-TECHNOLOGY.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":"2018-12-03T12:23:30.000Z","updated_at":"2022-12-03T11:00:22.000Z","dependencies_parsed_at":"2022-08-23T20:30:38.137Z","dependency_job_id":null,"html_url":"https://github.com/INFINITE-TECHNOLOGY/BOBBIN","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/INFINITE-TECHNOLOGY/BOBBIN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INFINITE-TECHNOLOGY%2FBOBBIN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INFINITE-TECHNOLOGY%2FBOBBIN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INFINITE-TECHNOLOGY%2FBOBBIN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INFINITE-TECHNOLOGY%2FBOBBIN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/INFINITE-TECHNOLOGY","download_url":"https://codeload.github.com/INFINITE-TECHNOLOGY/BOBBIN/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INFINITE-TECHNOLOGY%2FBOBBIN/sbom","scorecard":{"id":64832,"data":{"date":"2025-08-11","repo":{"name":"github.com/INFINITE-TECHNOLOGY/BOBBIN","commit":"1e420375cdd3afcb76ce1489a3c34e569de94263"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":-1,"reason":"no dependencies found","details":null,"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: 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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"}}]},"last_synced_at":"2025-08-15T02:23:24.947Z","repository_id":57735600,"created_at":"2025-08-15T02:23:24.947Z","updated_at":"2025-08-15T02:23:24.947Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281140883,"owners_count":26450536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"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":["groovy","logging","slf4j","slf4j-api","slf4j-binding","slf4j-loggers"],"created_at":"2024-09-27T15:05:33.317Z","updated_at":"2025-10-26T17:30:50.158Z","avatar_url":"https://github.com/INFINITE-TECHNOLOGY.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\n`Bobbin` is a high-performance `Slf4j`-compatible logger designed for multi-threaded applications (especially those with persistent threads like batch, stream and messaging applications).\n\n`Bobbin` leverages the concept of `Logback`/`Log4j2` sifting appenders while providing much more easier configuration using native `Groovy`/`Java` scripting expressions.\n\n\u003e Bobbin is available in `JCenter` repository.\n\n## Maven\n\n\u003e ❗ Note that there is no `\u003ctype\u003epom\u003c/type\u003e`\n\n\u003e [Example Maven project with Bobbin](https://github.com/INFINITE-TECHNOLOGY/BOBBIN_MAVEN_EXAMPLE)\n\n```xml\n...\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejcenter\u003c/id\u003e\n        \u003cname\u003ejcenter\u003c/name\u003e\n        \u003curl\u003ehttps://jcenter.bintray.com\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n...\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.i-t\u003c/groupId\u003e\n    \u003cartifactId\u003ebobbin\u003c/artifactId\u003e\n    \u003cversion\u003e4.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n...\n```\n\n## Gradle\n\n```groovy\nrepositories {\n    jcenter()\n}\ndependencies {\n    compile \"org.codehaus.groovy:groovy-all:2.5.4\"\n    compile \"io.i-t:bobbin:4.1.0\"\n}\n```\n\n## Sample configurations\n\nExamples of `Bobbin.yml` for different use cases.\n\n#### General usage\n\n```yaml\ndestinations:\n  - name: io.infinite.bobbin.config.ConsoleDestinationConfig\n    levels: [warn, error, info]\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    packages: [io.infinite]\n    fileName: (\"./LOGS/INFINITE/${className}/${level}/${className}_${level}_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    fileName: (\"./LOGS/PACKAGES/${className}/${level}/${className}_${level}_${date}.log\")\n    format: dateTime + delimiter + level + delimiter + threadName + delimiter + className + delimiter + message\n```\n\n#### Spring Boot\n\n\u003e [Logging Spring Boot HTTP with Bobbin](https://i-t.io/website/#/Blog/LoggingSpringBoot)\n\n```yaml\ndestinations:\n  - name: io.infinite.bobbin.config.ConsoleDestinationConfig\n    formatThrowable: \"%format% + delimiter + throwable\"\n    levels: [warn, error, info]\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    levels: [warn]\n    fileName: (\"./LOGS/WARNINGS_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    levels: [error]\n    fileName: (\"./LOGS/ERRORS_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    packages: [org.springframework.web]\n    fileName: (\"./LOGS/SPRING_WEB/SPRING_WEB_${date}.log\")\n```\n\n#### Logstash\n\nPass named parameters to `Logstash` without using `MDC` (using positioned logging arguments indexes instead).\n\n```yaml\nlevels: [info, warn, error, debug]\ndestinations:\n  - name: io.infinite.bobbin.config.ConsoleDestinationConfig\n    packages: [com.acme.logstash]\n    dateTimeFormat: \"yyyy-MM-dd'T'HH:mm:ss:SSSZ\"\n    lineBreak: \",\\r\\n\"\n    formatArgs: |-\n      \"\"\"{\n        \"@timestamp\": \"$dateTime\",\n        \"@version\": \"1\",\n        \"message\": \"$message\",\n        \"logger_name\": \"$className\",\n        \"thread_name\": \"$threadName\",\n        \"level\": \"$level\",\n        \"username\": \"${args[0]}\",\n        \"URI\": \"${args[1]}\",\n        \"sessionId\": \"${args[2]}\",\n        \"transactionId\": \"${args[3]}\",\n        \"instanceId\": \"${MDC.get('instanceUUID')}\"\n      }\"\"\"\n```\n\n#### MDC and log formatting\n\nUse `MDC` and change formatting of individual logging signatures - like `formatThrowable` in this case.\n\n`%format%` placeholder helps to reuse the base formatting (which itself can be also redefined using `format` parameter).\n\n```yaml\nformat: dateTime + delimiter + MDC.get(\"instanceUUID\") + delimiter + level + delimiter + threadName + delimiter + className + delimiter + message\ndestinations:\n  - name: io.infinite.bobbin.config.ConsoleDestinationConfig\n    formatThrowable: \"%format% + delimiter + throwable\"\n    levels: [warn, error, info]\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    levels: [warn]\n    fileName: (\"./LOGS/WARNINGS_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    levels: [error]\n    fileName: (\"./LOGS/ERRORS_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    packages: [org.springframework.web]\n    fileName: (\"./LOGS/SPRING_WEB/SPRING_WEB_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    packages: [io.infinite]\n    fileName: (\"./LOGS/THREADS/${threadGroupName}/${threadName}/${threadName}_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    packages: [conf.plugins.output]\n    fileName: (\"./LOGS/PLUGINS/OUTPUT/${className}/${className}_${date}.log\")\n  - name: io.infinite.bobbin.config.FileDestinationConfig\n    packages: [conf.plugins.input]\n    fileName: (\"./LOGS/PLUGINS/INPUT/${className}/${className}_${date}.log\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinite-technology%2Fbobbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinite-technology%2Fbobbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinite-technology%2Fbobbin/lists"}