{"id":15211400,"url":"https://github.com/spt-development/spt-development-logging-spring","last_synced_at":"2026-02-09T09:34:02.050Z","repository":{"id":39926292,"uuid":"339459397","full_name":"spt-development/spt-development-logging-spring","owner":"spt-development","description":"Library for adding logging to public methods belonging to classes annotated with RestController, Service or Repository and @JmsListener methods.","archived":false,"fork":false,"pushed_at":"2025-07-06T15:58:57.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T16:32:57.719Z","etag":null,"topics":["logging","spring","spring-jms","spring-mvc"],"latest_commit_sha":null,"homepage":"https://github.com/spt-development/spt-development-logging-spring","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/spt-development.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-16T16:26:43.000Z","updated_at":"2025-07-06T15:58:58.000Z","dependencies_parsed_at":"2023-10-17T03:19:31.573Z","dependency_job_id":"86b01166-fbfc-41cb-9722-2d8c0a1888b3","html_url":"https://github.com/spt-development/spt-development-logging-spring","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/spt-development/spt-development-logging-spring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spt-development%2Fspt-development-logging-spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spt-development%2Fspt-development-logging-spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spt-development%2Fspt-development-logging-spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spt-development%2Fspt-development-logging-spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spt-development","download_url":"https://codeload.github.com/spt-development/spt-development-logging-spring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spt-development%2Fspt-development-logging-spring/sbom","scorecard":{"id":842733,"data":{"date":"2025-08-11","repo":{"name":"github.com/spt-development/spt-development-logging-spring","commit":"9b8aa8d9d8c551a710376017c0fc745af6eb4c9c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","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":0,"reason":"Found 0/23 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/latest-versions.yml:1","Warn: no topLevel permission defined: .github/workflows/owasp.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":"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":"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":"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.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/latest-versions.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/latest-versions.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/latest-versions.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/latest-versions.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/owasp.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/owasp.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/owasp.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/owasp.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/owasp.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/owasp.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/owasp.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/spt-development/spt-development-logging-spring/owasp.yml/main?enable=pin","Info:   0 out of   7 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":"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 3.2.11 not signed: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/230296420","Warn: release artifact 3.2.10 not signed: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/220800664","Warn: release artifact 3.2.9 not signed: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/216362599","Warn: release artifact 3.2.8 not signed: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/210561170","Warn: release artifact 3.2.7 not signed: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/196823240","Warn: release artifact 3.2.11 does not have provenance: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/230296420","Warn: release artifact 3.2.10 does not have provenance: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/220800664","Warn: release artifact 3.2.9 does not have provenance: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/216362599","Warn: release artifact 3.2.8 does not have provenance: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/210561170","Warn: release artifact 3.2.7 does not have provenance: https://api.github.com/repos/spt-development/spt-development-logging-spring/releases/196823240"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 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":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"}}]},"last_synced_at":"2025-08-23T20:49:57.633Z","repository_id":39926292,"created_at":"2025-08-23T20:49:57.634Z","updated_at":"2025-08-23T20:49:57.634Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29260742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"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":["logging","spring","spring-jms","spring-mvc"],"created_at":"2024-09-28T08:40:37.998Z","updated_at":"2026-02-09T09:34:02.034Z","avatar_url":"https://github.com/spt-development.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"````\n  ____  ____ _____   ____                 _                                  _   \n / ___||  _ \\_   _| |  _ \\  _____   _____| | ___  _ __  _ __ ___   ___ _ __ | |_ \n \\___ \\| |_) || |   | | | |/ _ \\ \\ / / _ \\ |/ _ \\| '_ \\| '_ ` _ \\ / _ \\ '_ \\| __|\n  ___) |  __/ | |   | |_| |  __/\\ V /  __/ | (_) | |_) | | | | | |  __/ | | | |_ \n |____/|_|    |_|   |____/ \\___| \\_/ \\___|_|\\___/| .__/|_| |_| |_|\\___|_| |_|\\__|\n                                                 |_|                                           \n logging-spring -----------------------------------------------------------------\n````\n\n[![build_status](https://github.com/spt-development/spt-development-logging-spring/actions/workflows/build.yml/badge.svg)](https://github.com/spt-development/spt-development-logging-spring/actions)\n\nA library for adding logging (at the start, end and on exception) to public methods of classes annotated with \n`@RestController`, `@Service` or `@Repository` or methods annotated with `@JmsListener` or methods of sub-classes\nof `org.springframework.dao.support.DaoSupport`.\n\nUsage\n=====\n\nRegister the Aspects as Spring Beans manually or by adding the\n[spt-development/spt-development-logging-spring-boot](https://github.com/spt-development/spt-development-logging-spring-boot)\nstarter to your project's pom.\n\n```java\nimport com.spt.development.logging.spring.DaoSupportLogger;\n\nimport java.beans.BeanProperty;\n\n@Bean\npublic RestControllerLogger restControllerLogger() {\n    return new RestControllerLogger();\n}\n\n@Bean\npublic JmsListenerLogger jmsListenerLogger() {\n    return new JmsListenerLogger();\n}\n\n@Bean\npublic ServiceLogger serviceLogger() {\n    return new ServiceLogger();\n}\n\n@Bean\npublic RepositoryLogger repositoryLogger() {\n    return new RepositoryLogger();\n}\n\n@Bean\npublic DaoSupportLogger daoSupportLogger() {\n    return new DaoSupportLogger();\n}\n```\n\n*NOTE* The `DaoSupportLogger` will result in warnings such as the following being logged by `CglibAopProxy`:\n\n`Unable to proxy interface-implementing method [public final void org.springframework.dao.support.DaoSupport.afterPropertiesSet() throws java.lang.IllegalArgumentException,org.springframework.beans.factory.BeanInitializationException]\nbecause it is marked as final, consider using interface-based JDK proxies instead.`\n\nThe aspects above rely on classes either extending specific base classes or being annotated with particular annotations. `BeanLogger` has\nbeen introduced to add logging to arbitrary beans whether they are annotated with annotations such as `@Component` or whether they are\ninstantiated with a factory method. Logging for arbitrary beans is enabled with the `EnableBeanLogging` annotation:\n\n```java\n@Configuration\n@EnableBeanLogging(\n    excludedClasses = MyExcludedBean.class,\n    includeBasePackageClasses = {\n        MyLoggedBean.class\n    }\n)\nstatic class MyConfiguration {\n    @Bean\n    MyLoggedClass myLoggedBean() {\n        return new MyLoggedClass();\n    }\n\n    @Bean\n    MyExcludedBean myExcludedBean() {\n        return new MyExcludedBean();\n    }\n}\n```\n\n*NOTE* `excludedClasses` only excludes the class from logging being added with `BeanLogger` and as such, logging could still be added \nwith one of the other aspects from this librar, such as `DaoSupportLogger` if it extends the right base class or is annotated with the\nright annotation.\n\nBuilding locally\n================\n\nTo build the library, run the following maven command:\n\n```shell\n$ ./mvnw clean install\n```\n\nRelease\n=======\n\nTo build a release and upload to Maven Central push to `main`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspt-development%2Fspt-development-logging-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspt-development%2Fspt-development-logging-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspt-development%2Fspt-development-logging-spring/lists"}