{"id":18510644,"url":"https://github.com/liuzl/caddy-zlog","last_synced_at":"2025-10-31T19:30:25.024Z","repository":{"id":80656728,"uuid":"139532126","full_name":"liuzl/caddy-zlog","owner":"liuzl","description":"zlog is a log middleware for Caddy","archived":false,"fork":false,"pushed_at":"2020-03-04T23:56:01.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-25T20:26:14.188Z","etag":null,"topics":["caddy","caddy-log","caddy-plugin"],"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/liuzl.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":"2018-07-03T05:19:43.000Z","updated_at":"2023-07-30T17:01:23.000Z","dependencies_parsed_at":"2023-07-16T19:30:59.476Z","dependency_job_id":null,"html_url":"https://github.com/liuzl/caddy-zlog","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzl%2Fcaddy-zlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzl%2Fcaddy-zlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzl%2Fcaddy-zlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzl%2Fcaddy-zlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuzl","download_url":"https://codeload.github.com/liuzl/caddy-zlog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239225766,"owners_count":19603162,"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","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":["caddy","caddy-log","caddy-plugin"],"created_at":"2024-11-06T15:24:14.386Z","updated_at":"2025-10-31T19:30:24.969Z","avatar_url":"https://github.com/liuzl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Caddy-zlog\n\n## Overview\n\n`zlog` is a log middleware for [Caddy](https://github.com/caddyserver/caddy), it's based on https://github.com/rs/zerolog and https://github.com/liuzl/filestore.\n\n## Installation\n\nRebuild caddy as follows:\n\n1. `git clone https://github.com/liuzl/caddy-zlog`\n2. copy `caddy-zlog` to `github.com/caddyserver/caddy/caddyhttp/zlog`\n3. add `_ \"github.com/caddyserver/caddy/caddyhttp/zlog\"` to file `github.com/caddyserver/caddy/caddyhttp/caddyhttp.go`\n4. add `zlog` to the variable `directives` in file `github.com/caddyserver/caddy/caddyhttp/httpserver/plugin.go`\n5. `cd github.com/caddyserver/caddy/caddy \u0026\u0026 go build`\n\n## Caddyfile syntax\n\n```\n127.0.0.1 {\n    zlog {\n        log_dir ./server_zerolog\n        split_by hour\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuzl%2Fcaddy-zlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuzl%2Fcaddy-zlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuzl%2Fcaddy-zlog/lists"}