{"id":42750863,"url":"https://github.com/bool64/logz","last_synced_at":"2026-01-29T19:33:33.465Z","repository":{"id":47198184,"uuid":"288306267","full_name":"bool64/logz","owner":"bool64","description":"zPage to report aggregated logs","archived":false,"fork":false,"pushed_at":"2024-06-03T18:39:18.000Z","size":218,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T02:02:59.106Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bool64.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":"2020-08-17T23:17:54.000Z","updated_at":"2024-06-03T18:38:57.000Z","dependencies_parsed_at":"2024-06-03T21:41:54.242Z","dependency_job_id":null,"html_url":"https://github.com/bool64/logz","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/bool64/logz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bool64%2Flogz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bool64%2Flogz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bool64%2Flogz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bool64%2Flogz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bool64","download_url":"https://codeload.github.com/bool64/logz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bool64%2Flogz/sbom","scorecard":{"id":247863,"data":{"date":"2025-08-11","repo":{"name":"github.com/bool64/logz","commit":"6eb80f01d267e89bed8797f2623c16785c7f2e0a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":10,"reason":"no dangerous workflow patterns detected","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 0/18 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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/bench.yml:1","Warn: no topLevel permission defined: .github/workflows/cloc.yml:1","Warn: no topLevel permission defined: .github/workflows/golangci-lint.yml:1","Warn: no topLevel permission defined: .github/workflows/gorelease.yml:1","Warn: no topLevel permission defined: .github/workflows/test-unit.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/bench.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/bench.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/bench.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/bench.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bench.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/bench.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bench.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/bench.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cloc.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/cloc.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cloc.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/cloc.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cloc.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/cloc.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/golangci-lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/golangci-lint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/golangci-lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gorelease.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/gorelease.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gorelease.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/gorelease.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gorelease.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/gorelease.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gorelease.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/gorelease.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-unit.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/test-unit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-unit.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/test-unit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-unit.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/test-unit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-unit.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/test-unit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-unit.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/test-unit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-unit.yml:133: update your workflow using https://app.stepsecurity.io/secureworkflow/bool64/logz/test-unit.yml/master?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/gorelease.yml:42","Info:   0 out of  16 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   1 goCommand 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":"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: 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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 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-17T07:55:57.945Z","repository_id":47198184,"created_at":"2025-08-17T07:55:57.946Z","updated_at":"2025-08-17T07:55:57.946Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28883091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:23:39.025Z","status":"ssl_error","status_checked_at":"2026-01-29T19:22:11.631Z","response_time":59,"last_error":"SSL_read: 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":"2026-01-29T19:33:33.388Z","updated_at":"2026-01-29T19:33:33.457Z","avatar_url":"https://github.com/bool64.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logz\n\n\u003cimg align=\"right\" width=\"100px\" src=\"/_examples/logo.png\"\u003e\n\nThis library provides in-process aggregated collector of messages and web page to report them. \nThey are useful for last mile observability of logs.\n\n`logz` is inspired by [OpenCensus zPages](https://opencensus.io/zpages/).\n\n[![Build Status](https://github.com/bool64/logz/workflows/test/badge.svg)](https://github.com/bool64/logz/actions?query=branch%3Amaster+workflow%3Atest)\n[![Coverage Status](https://codecov.io/gh/bool64/logz/branch/master/graph/badge.svg)](https://codecov.io/gh/bool64/logz)\n[![GoDevDoc](https://img.shields.io/badge/dev-doc-00ADD8?logo=go)](https://pkg.go.dev/github.com/bool64/logz)\n[![time tracker](https://wakatime.com/badge/github/bool64/logz.svg)](https://wakatime.com/badge/github/bool64/logz)\n![Code lines](https://sloc.xyz/github/bool64/logz/?category=code)\n![Comments](https://sloc.xyz/github/bool64/logz/?category=comments)\n\n## Features\n\n* High performance and low resource consumption.\n* Adapter for [`go.uber.org/zap`](./zzap).\n* Adapter for [`github.com/bool64/ctxd`](./ctxz).\n* HTTP handler to serve aggregated messages.\n* Best effort [filtering](https://pkg.go.dev/github.com/vearutop/lograte/filter#Dynamic) of dynamic parts of messages.\n\n![Screenshot](./_examples/screenshot.png)\n\n## Example for `go.uber.org/zap`\n\n```go\nzc := zap.NewDevelopmentConfig()\nzz, lo := zzap.NewOption(logz.Config{\n    MaxCardinality: 5,\n    MaxSamples:     10,\n\tFilterMessage:  true,\n})\n\nl, err := zc.Build(zz)\nif err != nil {\n    panic(err)\n}\n\nl.Debug(\"starting example\")\nl.Sugar().Infow(\"sample info\", \"one\", 1, \"two\", 2)\nl.Error(\"unexpected end of the world\")\n\nl.Warn(\"please be careful with asf872dfse732\")\nl.Warn(\"please be careful with sdf890sdf0w9d\") // These messages will be grouped together with help of filtering.\n\nl.Info(\"starting server at http://localhost:6060/\")\nerr = http.ListenAndServe(\"0.0.0.0:6060\", logzpage.Handler(lo...))\nif err != nil {\n    l.Fatal(err.Error())\n}\n```\n\n## Example for `github.com/bool64/ctxd`\n\n```go\nvar logger ctxd.Logger\n\nlz := ctxz.NewObserver(logger, logz.Config{\n    MaxCardinality:      100,\n    MaxSamples:          50,\n    DistRetentionPeriod: 72 * time.Hour,\n})\nlogger = lz\n\nctx := context.TODO()\n\nlogger.Debug(ctx, \"starting example\")\nlogger.Info(ctx, \"sample info\", \"one\", 1, \"two\", 2)\nlogger.Error(ctx, \"unexpected end of the world\")\n\nlogger.Important(ctx, \"starting server at http://localhost:6060/\")\n\nerr := http.ListenAndServe(\"0.0.0.0:6060\", logzpage.Handler(lz.LevelObservers()...))\nif err != nil {\n    logger.Error(ctx, err.Error())\n    os.Exit(1)\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbool64%2Flogz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbool64%2Flogz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbool64%2Flogz/lists"}