{"id":37019257,"url":"https://github.com/rage28/log4j2-slack","last_synced_at":"2026-01-14T02:05:20.817Z","repository":{"id":57722288,"uuid":"101623545","full_name":"rage28/log4j2-slack","owner":"rage28","description":"Apache SLF4J2 Slack Appender","archived":false,"fork":false,"pushed_at":"2017-08-31T12:35:29.000Z","size":74,"stargazers_count":3,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-04T04:44:09.374Z","etag":null,"topics":["appender","java","slack","slf4j","slf4j2"],"latest_commit_sha":null,"homepage":null,"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/rage28.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-28T08:51:08.000Z","updated_at":"2023-08-04T04:44:09.375Z","dependencies_parsed_at":"2022-08-29T23:01:26.203Z","dependency_job_id":null,"html_url":"https://github.com/rage28/log4j2-slack","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/rage28/log4j2-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rage28%2Flog4j2-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rage28%2Flog4j2-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rage28%2Flog4j2-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rage28%2Flog4j2-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rage28","download_url":"https://codeload.github.com/rage28/log4j2-slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rage28%2Flog4j2-slack/sbom","scorecard":{"id":758707,"data":{"date":"2025-08-11","repo":{"name":"github.com/rage28/log4j2-slack","commit":"39faaa81f369c3a7dcd18e0f039d0b07e1058d14"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 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":"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":"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":"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":-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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.md: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":"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"}}]},"last_synced_at":"2025-08-22T22:35:58.434Z","repository_id":57722288,"created_at":"2025-08-22T22:35:58.434Z","updated_at":"2025-08-22T22:35:58.434Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"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":["appender","java","slack","slf4j","slf4j2"],"created_at":"2026-01-14T02:05:20.215Z","updated_at":"2026-01-14T02:05:20.809Z","avatar_url":"https://github.com/rage28.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log4j2 Slack Appender\n\nThis is a highly customizable appender for [Apache SLF4J2](https://logging.apache.org/log4j/2.x/) to push the logs to Slack using [webhooks](https://api.slack.com/incoming-webhooks)\n\n## Dependencies\n\nGradle\n```groovy\n    dependencies {\n        compile 'com.github.rage28:log4j2-slack:1.0'\n    }\n```\nMaven\n```xml\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.rage28\u003c/groupId\u003e\n        \u003cartifactId\u003elog4j2-slack\u003c/artifactId\u003e\n        \u003cversion\u003e1.0\u003c/version\u003e\n    \u003c/dependency\u003e\n```\n\n## Configuration\n\nExample\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cConfiguration status=\"WARN\" packages=\"com.rage28.log4j2\"\u003e\n    \u003cAppenders\u003e\n        \u003cSlack name=\"ExampleSlacker\"\n                       channel=\"#updates\"\n                       webhookUrl=\"https://hooks.slack.com/services/X/Y/Z\"\n                       username=\"botter\"\n                       iconEmoji=\"robot_face\"\u003e\n            \u003cSlackLogLayout /\u003e\n        \u003c/Slack\u003e\n    \u003c/Appenders\u003e\n\n    \u003cLoggers\u003e\n        \u003cRoot level=\"info\"\u003e\n            \u003cAppenderRef ref=\"ExampleSlacker\"/\u003e\n        \u003c/Root\u003e\n    \u003c/Loggers\u003e\n\u003c/Configuration\u003e\n```\n\n```java\nimport com.github.rage28.log4j2.slack.message.SlackLogMessage;\nimport com.github.rage28.log4j2.slack.model.SlackLog.SlackLogBuilder;\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\n\npublic class MyClass {\n\tprivate static Logger logger = LogManager.get(MyClass.class);\n\t\n\tpublic static void main(String[] args) {\n\t\tlogger.error(new SlackLogMessage(SlackLogBuilder.builder()\n                     \t\t\t.withTitle(\"This is a title\")\n                     \t\t\t.withColor(\"red\")\n                     \t\t\t.withText(\"Something bad happened! I can feel it\")\n                     \t\t\t.build()));\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frage28%2Flog4j2-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frage28%2Flog4j2-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frage28%2Flog4j2-slack/lists"}