{"id":32176151,"url":"https://github.com/jobec/rfc5424-logging-handler","last_synced_at":"2026-02-19T08:34:31.356Z","repository":{"id":15600793,"uuid":"78469487","full_name":"jobec/rfc5424-logging-handler","owner":"jobec","description":"An RFC5424-Compliant Syslog Handler for the Python Logging Framework","archived":false,"fork":false,"pushed_at":"2023-05-18T14:31:02.000Z","size":126,"stargazers_count":50,"open_issues_count":14,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-24T07:45:24.809Z","etag":null,"topics":["logging","python","rfc-5424","rfc5424","syslog"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jobec.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"jobec"}},"created_at":"2017-01-09T21:12:33.000Z","updated_at":"2025-07-24T07:13:33.000Z","dependencies_parsed_at":"2024-06-18T18:24:25.942Z","dependency_job_id":"8486dfaa-c6a1-4e33-9ed1-e2d5bcb0c163","html_url":"https://github.com/jobec/rfc5424-logging-handler","commit_stats":{"total_commits":105,"total_committers":12,"mean_commits":8.75,"dds":0.5047619047619047,"last_synced_commit":"ae70baa3303f192556941e0d237dd9ab4e349dbc"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/jobec/rfc5424-logging-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobec%2Frfc5424-logging-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobec%2Frfc5424-logging-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobec%2Frfc5424-logging-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobec%2Frfc5424-logging-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jobec","download_url":"https://codeload.github.com/jobec/rfc5424-logging-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobec%2Frfc5424-logging-handler/sbom","scorecard":{"id":526055,"data":{"date":"2025-08-11","repo":{"name":"github.com/jobec/rfc5424-logging-handler","commit":"ae70baa3303f192556941e0d237dd9ab4e349dbc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 2/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":-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":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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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":-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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 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-20T04:24:27.268Z","repository_id":15600793,"created_at":"2025-08-20T04:24:27.268Z","updated_at":"2025-08-20T04:24:27.268Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"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","python","rfc-5424","rfc5424","syslog"],"created_at":"2025-10-21T19:55:04.219Z","updated_at":"2026-02-19T08:34:31.350Z","avatar_url":"https://github.com/jobec.png","language":"Python","readme":"Python rfc5424 syslog logging handler\n=====================================\n\n.. image:: https://readthedocs.org/projects/rfc5424-logging-handler/badge/?version=latest\n    :target: https://rfc5424-logging-handler.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n.. image:: https://img.shields.io/pypi/v/rfc5424-logging-handler.svg\n    :target: https://pypi.python.org/pypi/rfc5424-logging-handler\n.. image:: https://img.shields.io/pypi/pyversions/rfc5424-logging-handler.svg\n    :target: https://pypi.python.org/pypi/rfc5424-logging-handler#downloads\n.. image:: https://travis-ci.org/jobec/rfc5424-logging-handler.svg?branch=master\n    :target: https://travis-ci.org/jobec/rfc5424-logging-handler\n.. image:: https://codecov.io/github/jobec/rfc5424-logging-handler/coverage.svg?branch=master\n    :target: https://codecov.io/github/jobec/rfc5424-logging-handler?branch=master\n\nAn up-to-date, `RFC 5424 \u003chttps://tools.ietf.org/html/rfc5424\u003e`_ compliant syslog handler for the Python logging framework.\n\n* Free software: BSD License\n* Homepage: https://github.com/jobec/rfc5424-logging-handler\n* Documentation: http://rfc5424-logging-handler.readthedocs.org/\n\nFeatures\n--------\n\n* `RFC 5424 \u003chttps://tools.ietf.org/html/rfc5424\u003e`_ Compliant.\n* Python Logging adapter for easier sending of rfc5424 specific fields.\n* No need for complicated formatting strings.\n* TLS/SSL syslog support.\n* Alternate transports like streams (ex. stderr, stdout, file, ...).\n\nInstallation\n------------\n\nPython package::\n\n    pip install rfc5424-logging-handler\n\nUsage\n-----\n\nAfter installing you can use this package like this:\n\n.. code-block:: python\n\n    import logging\n    from rfc5424logging import Rfc5424SysLogHandler\n\n    logger = logging.getLogger('syslogtest')\n    logger.setLevel(logging.INFO)\n\n    sh = Rfc5424SysLogHandler(address=('10.0.0.1', 514))\n    logger.addHandler(sh)\n\n    logger.info('This is an interesting message', extra={'msgid': 'some_unique_msgid'})\n\nThis will send the following message to the syslog server::\n\n    \u003c14\u003e1 2020-01-01T05:10:20.841485+01:00 myserver syslogtest 5252 some_unique_msgid - \\xef\\xbb\\xbfThis is an interesting message\n\nNote the UTF8 Byte order mark (BOM) preceding the message. While required by\n`RFC 5424 section 6.4 \u003chttps://tools.ietf.org/html/rfc5424#section-6.4\u003e`_ if the message is known to be UTF-8 encoded,\nthere are still syslog receivers that cannot handle it. To bypass this limitation, when initializing the handler Class,\nset the ``msg_as_utf8`` parameter to ``False`` like this:\n\n.. code-block:: python\n\n    sh = Rfc5424SysLogHandler(address=('10.0.0.1', 514), msg_as_utf8=False)\n\nFor more examples, have a look at the `documentation \u003chttp://rfc5424-logging-handler.readthedocs.org/\u003e`_\n","funding_links":["https://github.com/sponsors/jobec"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobec%2Frfc5424-logging-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjobec%2Frfc5424-logging-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobec%2Frfc5424-logging-handler/lists"}