{"id":18644104,"url":"https://github.com/indix/marathon-logger","last_synced_at":"2026-03-06T12:31:18.515Z","repository":{"id":64304563,"uuid":"52946483","full_name":"indix/marathon-logger","owner":"indix","description":"Push marathon app logs to local syslog daemon","archived":false,"fork":false,"pushed_at":"2019-12-04T11:53:14.000Z","size":42,"stargazers_count":2,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-15T00:53:55.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/indix.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":"2016-03-02T08:25:40.000Z","updated_at":"2019-01-02T04:26:47.000Z","dependencies_parsed_at":"2023-01-15T10:15:49.436Z","dependency_job_id":null,"html_url":"https://github.com/indix/marathon-logger","commit_stats":null,"previous_names":["ashwanthkumar/marathon-logger"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/indix/marathon-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Fmarathon-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Fmarathon-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Fmarathon-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Fmarathon-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indix","download_url":"https://codeload.github.com/indix/marathon-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Fmarathon-logger/sbom","scorecard":{"id":487444,"data":{"date":"2025-08-11","repo":{"name":"github.com/indix/marathon-logger","commit":"4e2351d612f3955959d14a3bea8317dbc6ed74c3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"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":"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":"Code-Review","score":0,"reason":"Found 2/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":"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":"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":"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: 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 v0.0.8 not signed: https://api.github.com/repos/indix/marathon-logger/releases/5965951","Warn: release artifact v0.0.7 not signed: https://api.github.com/repos/indix/marathon-logger/releases/4997389","Warn: release artifact v0.0.6 not signed: https://api.github.com/repos/indix/marathon-logger/releases/4165297","Warn: release artifact v0.0.5 not signed: https://api.github.com/repos/indix/marathon-logger/releases/4158070","Warn: release artifact v0.0.2 not signed: https://api.github.com/repos/indix/marathon-logger/releases/3822294","Warn: release artifact v0.0.8 does not have provenance: https://api.github.com/repos/indix/marathon-logger/releases/5965951","Warn: release artifact v0.0.7 does not have provenance: https://api.github.com/repos/indix/marathon-logger/releases/4997389","Warn: release artifact v0.0.6 does not have provenance: https://api.github.com/repos/indix/marathon-logger/releases/4165297","Warn: release artifact v0.0.5 does not have provenance: https://api.github.com/repos/indix/marathon-logger/releases/4158070","Warn: release artifact v0.0.2 does not have provenance: https://api.github.com/repos/indix/marathon-logger/releases/3822294"],"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 10 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-19T18:10:15.229Z","repository_id":64304563,"created_at":"2025-08-19T18:10:15.229Z","updated_at":"2025-08-19T18:10:15.229Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30176133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T11:48:51.886Z","status":"ssl_error","status_checked_at":"2026-03-06T11:48:51.460Z","response_time":250,"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":[],"created_at":"2024-11-07T06:09:58.926Z","updated_at":"2026-03-06T12:31:18.499Z","avatar_url":"https://github.com/indix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/indix/marathon-logger.svg?branch=master)](https://travis-ci.org/indix/marathon-logger)\n# Marathon-Logger\n\nMarathon logger is a simple tool that's meant to be deployed on all the Mesos slaves and run as a daemon. It monitors the logs for each app task and pushes it to a logging backend (syslog for now).\n\n## How does it work?\nEach `marathon-logger` instance is configured to talk to a Marathon instance. It polls all the running apps periodically and finds the one's that has logging enabled. They are identified using a label `logs.enabled:true`. Then for each app's task it queries the local instance of the Mesos slave to find the working directory for the task. We then create a rsyslog config file for each task, tailing the files within the working directory again specified using the label `logs.files:\"logs/access.log\"` - if nothing is specified, we'll tail the `stdout` in the working directory. Once we create/modify the configuration, we reload the syslog daemon. This can also be used to push the logs to any backends like [Loggly](http://loggly.com) for example.\n\n## Usage\n```\n$ marathon-logger --help\nUsage of marathon-logger:\n      --app-check-interval duration             Frequency at which we check for new tasks (default 30s)\n      --rsyslog-configuration-dir string        Location on the Filesystem where the rsyslog configurations needs to be written (default \"/etc/rsyslog.d\")\n      --rsyslog-restart-cmd string              Restart command for rsyslog backend (default \"service rsyslog restart\")\n      --slave-port int                          Mesos slave port (default 5051)\n      --task-max-heart-beat-interval duration   Max heartbeat interval after which the task is considered dead and logger is removed (default 30m0s)\n      --uri string                              Marathon URI to connect\n```\n\n## App Labels\nApart from the flags that are used while starting up, the functionality can be controlled at an app level using labels in the app specification. The following table explains the properties and it's usage.\n\n| Property | Description | Example |\n| --- | --- | --- |\n| logs.enabled | Enable or disable log monitoring for the app. Default - `false` | true |\n| logs.files | List of files to monitor via the backend. Default - `stdout` | stdout,stderr |\n\n## License\nhttp://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findix%2Fmarathon-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findix%2Fmarathon-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findix%2Fmarathon-logger/lists"}