{"id":22856621,"url":"https://github.com/deis/logger","last_synced_at":"2025-09-10T18:36:44.994Z","repository":{"id":71904889,"uuid":"47653416","full_name":"deis/logger","owner":"deis","description":"In-memory log buffer used by Deis Workflow.","archived":false,"fork":false,"pushed_at":"2018-03-01T16:50:59.000Z","size":1750,"stargazers_count":18,"open_issues_count":6,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-30T15:14:53.240Z","etag":null,"topics":["deis-workflow","k8s","kubernetes","logging","unsupported"],"latest_commit_sha":null,"homepage":"https://deis.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deis.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}},"created_at":"2015-12-08T22:25:38.000Z","updated_at":"2023-04-20T03:48:20.000Z","dependencies_parsed_at":"2023-08-21T06:15:07.887Z","dependency_job_id":null,"html_url":"https://github.com/deis/logger","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/deis/logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Flogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Flogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Flogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Flogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deis","download_url":"https://codeload.github.com/deis/logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Flogger/sbom","scorecard":{"id":332746,"data":{"date":"2025-08-11","repo":{"name":"github.com/deis/logger","commit":"065ef0943d812f65e85b94375c36b492681234f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"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":"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":"Code-Review","score":3,"reason":"Found 5/16 approved changesets -- score normalized to 3","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":"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":"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":"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: MIT 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: rootfs/Dockerfile:1: pin your Docker image by updating quay.io/deis/base:v0.3.6 to quay.io/deis/base:v0.3.6@sha256:d4b5b797a934e73ea4ae80b258fde44a47256a5c625ecc936454cb41e2df2756","Info:   0 out of   1 containerImage 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":"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 28 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-18T03:58:34.263Z","repository_id":71904889,"created_at":"2025-08-18T03:58:34.263Z","updated_at":"2025-08-18T03:58:34.263Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274505329,"owners_count":25298230,"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-09-10T02:00:12.551Z","response_time":83,"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":["deis-workflow","k8s","kubernetes","logging","unsupported"],"created_at":"2024-12-13T08:09:16.635Z","updated_at":"2025-09-10T18:36:44.621Z","avatar_url":"https://github.com/deis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n|![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Warning.svg/156px-Warning.svg.png) | Deis Workflow is no longer maintained.\u003cbr /\u003ePlease [read the announcement](https://deis.com/blog/2017/deis-workflow-final-release/) for more detail. |\n|---:|---|\n| 09/07/2017 | Deis Workflow [v2.18][] final release before entering maintenance mode |\n| 03/01/2018 | End of Workflow maintenance: critical patches no longer merged |\n| | [Hephy](https://github.com/teamhephy/workflow) is a fork of Workflow that is actively developed and accepts code contributions. |\n\n# Deis Logger\n[![Build Status](https://ci.deis.io/job/logger/badge/icon)](https://ci.deis.io/job/logger)\n[![codecov.io](https://codecov.io/github/deis/logger/coverage.svg?branch=master)](https://codecov.io/github/deis/logger?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/deis/logger)](https://goreportcard.com/report/github.com/deis/logger)\n[![Docker Repository on Quay](https://quay.io/repository/deis/logger/status \"Docker Repository on Quay\")](https://quay.io/repository/deis/logger)\n\nDeis (pronounced DAY-iss) Workflow is an open source Platform as a Service (PaaS) that adds a developer-friendly layer to any [Kubernetes](http://kubernetes.io) cluster, making it easy to deploy and manage applications on your own servers.\n\n![Deis Graphic](https://getdeis.blob.core.windows.net/get-deis/deis-graphic-small.png)\n\nFor more information about the Deis Workflow, please visit the main project page at https://github.com/deis/workflow.\n\nWe welcome your input! If you have feedback, please [submit an issue][issues]. If you'd like to participate in development, please read the \"Development\" section below and [submit a pull request][prs].\n\n## Description\nA system logger for use in the [Deis Workflow](https://deis.com/workflow/) open source PaaS.\n\nThis Docker image is based on [quay.io/deis/base](https://github.com/deis/docker-base) image. You can see what version we are currently using in the [Dockerfile](rootfs/Dockerfile)\n\nThe new v2 logger implementation has seen a simplification from the last rewrite. While it still uses much of that code it no longer depends on `etcd`. Instead, we will use kubernetes service discovery to determine where logger is running.\n\nWe have also decided to not use `logspout` as the mechanism to get logs from each container to the `logger` component. Now we will use [fluentd](http://fluentd.org) which is a widely supported logging framework with hundreds of plugins. This will allow the end user to configure multiple destinations such as Elastic Search and other Syslog compatible endpoints like [papertrail](http://papertrailapp.com).\n\n## Configuration\nThe following environment variables can be used to configure logger:\n\n| Name | Default Value |\n|------|---------------|\n| STORAGE_ADAPTER | \"redis\" |\n| NUMBER_OF_LINES (per app) | \"1000\" |\n| AGGREGATOR_TYPE | \"nsq\" |\n| DEIS_NSQD_SERVICE_HOST | \"\" |\n| DEIS_NSQD_SERVICE_PORT_TRANSPORT | 4150 |\n| NSQ_TOPIC | logs |\n| NSQ_CHANNEL | consume |\n| NSQ_HANDLER_COUNT | 30 |\n| AGGREGATOR_STOP_TIMEOUT_SEC | 1 |\n| DEIS_LOGGER_REDIS_SERVICE_HOST | \"\" |\n| DEIS_LOGGER_REDIS_SERVICE_PORT | 6379 |\n| DEIS_LOGGER_REDIS_PASSWORD | \"\" |\n| DEIS_LOGGER_REDIS_DB | 0 |\n| DEIS_LOGGER_REDIS_PIPELINE_LENGTH | 50 |\n| DEIS_LOGGER_REDIS_PIPELINE_TIMEOUT_SECONDS | 1 |\n\n## Development\nThe only assumption this project makes about your environment is that you have a working docker host to build the image against.\n\n### Building binary and image\nTo build the binary and image run the following make command:\n\n```console\nDEV_REGISTRY=quay.io IMAGE_PREFIX=myaccount make build\nIMAGE_PREFIX=myaccount make build\nDEV_REGISTRY=myhost:5000 make build\n```\n\n### Pushing the image\nThe makefile assumes that you are pushing the image to a remote repository like quay or dockerhub. So you will need to supply the `REGISTRY` environment variable.\n\n```console\nDEV_REGISTRY=quay.io IMAGE_PREFIX=myaccount make push\nIMAGE_PREFIX=myaccount make push\nDEV_REGISTRY=myhost:5000 make push\n```\n\n### Kubernetes interactions\n* `make install` - Install the recently built docker image into the kubernetes cluster\n* `make upgrade` - Upgrade a currently installed image\n* `make uninstall` - Uninstall logger from a kubernetes cluster\n\n### Architecture Diagram\n```\n                        ┌────────┐\n                        │ Router │                  ┌────────┐\n                        └────────┘                  │ Logger │\n                            │                       └────────┘\n                        Log file                        │\n                            │                           │\n                            ▼                           ▼\n┌────────┐             ┌─────────┐    logs/metrics   ┌─────┐\n│App Logs│──Log File──▶│ fluentd │───────topics─────▶│ NSQ │\n└────────┘             └─────────┘                   └─────┘\n                                                        │\n                                                        │\n┌─────────────┐                                         │\n│ HOST        │                                         ▼\n│  Telegraf   │───┐                                ┌────────┐\n└─────────────┘   │                                │Telegraf│\n                  │                                └────────┘\n┌─────────────┐   │                                    │\n│ HOST        │   │    ┌───────────┐                   │\n│  Telegraf   │───┼───▶│ InfluxDB  │◀────Wire ─────────┘\n└─────────────┘   │    └───────────┘   Protocol\n                  │          ▲\n┌─────────────┐   │          │\n│ HOST        │   │          ▼\n│  Telegraf   │───┘    ┌──────────┐\n└─────────────┘        │ Grafana  │\n                       └──────────┘\n```\n\n[issues]: https://github.com/deis/logger/issues\n[prs]: https://github.com/deis/logger/pulls\n[v2.18]: https://github.com/deis/workflow/releases/tag/v2.18.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeis%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeis%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeis%2Flogger/lists"}