{"id":21392906,"url":"https://github.com/henleykuang/remote-logger","last_synced_at":"2025-10-08T15:58:28.792Z","repository":{"id":57461085,"uuid":"202235461","full_name":"HenleyKuang/remote-logger","owner":"HenleyKuang","description":"Remote Logger is a Python library that simplifies cloud logging services such as Sentry and Stackdriver, and allows you to easily integrate them with Python's native logging.","archived":false,"fork":false,"pushed_at":"2023-03-21T22:31:58.000Z","size":78,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-08T15:58:28.002Z","etag":null,"topics":["cloud","google","logging","python","remote","sentry","stackdriver","stackdriver-error-reporting","stackdriver-logs","stackdriver-monitoring"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HenleyKuang.png","metadata":{"files":{"readme":"README.rst","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":"2019-08-13T23:01:58.000Z","updated_at":"2025-09-03T17:00:53.000Z","dependencies_parsed_at":"2025-06-08T09:05:11.926Z","dependency_job_id":"374251d1-d832-4c9a-8996-c8f99a586156","html_url":"https://github.com/HenleyKuang/remote-logger","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/HenleyKuang/remote-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenleyKuang%2Fremote-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenleyKuang%2Fremote-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenleyKuang%2Fremote-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenleyKuang%2Fremote-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HenleyKuang","download_url":"https://codeload.github.com/HenleyKuang/remote-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenleyKuang%2Fremote-logger/sbom","scorecard":{"id":62072,"data":{"date":"2025-08-11","repo":{"name":"github.com/HenleyKuang/remote-logger","commit":"74feb7961c391496add0091da777daa9ed7ec44c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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":"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: GNU General Public License v3.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"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-29pr-6jr8-q5jm","Warn: Project is vulnerable to: GHSA-g92j-qhmh-64v2"],"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-15T01:55:41.211Z","repository_id":57461085,"created_at":"2025-08-15T01:55:41.212Z","updated_at":"2025-08-15T01:55:41.212Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278972319,"owners_count":26078017,"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-08T02:00:06.501Z","response_time":56,"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":["cloud","google","logging","python","remote","sentry","stackdriver","stackdriver-error-reporting","stackdriver-logs","stackdriver-monitoring"],"created_at":"2024-11-22T13:45:00.222Z","updated_at":"2025-10-08T15:58:28.763Z","avatar_url":"https://github.com/HenleyKuang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://img.shields.io/badge/License-GPL%20v3-blue.svg\n   :target: https://www.gnu.org/licenses/gpl-3.0\n\n.. image:: https://badge.fury.io/py/remote-logger.svg\n   :target: https://pypi.org/project/remote-logger/\n\n.. image:: https://img.shields.io/travis/HenleyKuang/remote-logger.svg\n   :target: https://travis-ci.org/HenleyKuang/remote-logger\n\nRemote Logger\n=============\n\nInstallation\n------------\n\n.. code-block:: bash\n\n    pip install remote-logger\n\n\nExamples\n--------\n\nInitializing RemoteLogger with Sentry\n\n.. code-block:: python\n\n    import logging\n\n    from remote_logger.clients.sentry_logger_client import SentryLoggerClient\n    from remote_logger.remote_logger_handler import RemoteLoggerHandler\n\n    LOGGER = logging.getLogger(__name__)\n\n    dsn = \"https://\u003ckey\u003e@sentry.io/\u003cproject\u003e\"\n    sentry_client = SentryLoggerClient(dsn=dsn)\n    sentry_handler = RemoteLoggerHandler(client=sentry_client)\n    sentry_handler.setLevel(logging.ERROR)\n    LOGGER.addHandler(sentry_handler)\n\n\nInitializing RemoteLogger with Stackdriver\n\n.. code-block:: python\n\n    import logging\n\n    from remote_logger.clients.stackdriver_logger_client import StackdriverLoggerClient\n    from remote_logger.remote_logger_handler import RemoteLoggerHandler\n\n    LOGGER = logging.getLogger(__name__)\n\n    # With service key\n    service_key_path = \"/path/to/key.json\"\n    stackdriver_client = StackdriverLoggerClient(service_key_path=service_key_path)\n\n    # Without service key\n    stackdriver_client = StackdriverLoggerClient()\n\n    stackdriver_handler = RemoteLoggerHandler(stackdriver_client)\n    stackdriver_handler.setLevel(logging.ERROR)\n    LOGGER.addHandler(stackdriver_handler)\n\n\nSending events to RemoteLogger\n\n.. code-block:: python\n\n    dummy_group_id = 99\n    primary_metadata = {\n        \"pkey1\": \"pvalue1\",\n        \"pkey2\": \"pvalue2\",\n        \"pkey3\": \"pvalue3\",\n    }\n    secondary_metadata = {\n        \"skey1\": \"svalue1\",\n        \"skey2\": \"svalue2\",\n        \"skey3\": \"svalue3\",\n    }\n    LOGGER.error(\"Test Message\", extra={\n        \"group_id\": dummy_group_id,\n        \"primary_metadata\": primary_metadata,\n        \"secondary_metadata\": secondary_metadata,\n    })\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenleykuang%2Fremote-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenleykuang%2Fremote-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenleykuang%2Fremote-logger/lists"}