{"id":21586080,"url":"https://github.com/magiclen/pipe-logger","last_synced_at":"2025-04-10T20:20:55.780Z","repository":{"id":57655603,"uuid":"148379003","full_name":"magiclen/pipe-logger","owner":"magiclen","description":"Stores, rotates, compresses process logs.","archived":false,"fork":false,"pushed_at":"2023-11-26T03:06:00.000Z","size":42,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T17:55:25.386Z","etag":null,"topics":["cli","pipe-logger","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/magiclen.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}},"created_at":"2018-09-11T20:54:01.000Z","updated_at":"2024-04-17T22:18:51.000Z","dependencies_parsed_at":"2023-11-26T04:19:34.345Z","dependency_job_id":"c65dd72c-a411-4be5-931e-dd68a533c121","html_url":"https://github.com/magiclen/pipe-logger","commit_stats":{"total_commits":34,"total_committers":1,"mean_commits":34.0,"dds":0.0,"last_synced_commit":"f3f5cbd4bb4682d3cdf8de9be35e07ee15dc1da3"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fpipe-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fpipe-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fpipe-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fpipe-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magiclen","download_url":"https://codeload.github.com/magiclen/pipe-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838421,"owners_count":21004576,"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":["cli","pipe-logger","rust"],"created_at":"2024-11-24T15:12:37.460Z","updated_at":"2025-04-10T20:20:55.745Z","avatar_url":"https://github.com/magiclen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pipe Logger\n====================\n\n[![CI](https://github.com/magiclen/pipe-logger/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/pipe-logger/actions/workflows/ci.yml)\n\nStores, rotates, compresses process logs.\n\n## Help\n\n```\nEXAMPLES:\npipe-logger /path/to/out.log                          # Store log into /path/to/out.log\npipe-logger /path/to/out.log -r 10M                   # The same as above, plus if its size is over than 10MB, it will be rotated and renamed\npipe-logger /path/to/out.log -r 10M -c 4              # The same as above, plus the max count of log files is 4. The oldest ones will be removed when the quota is exhausted\npipe-logger /path/to/out.log -r 10M -c 4 --compress   # The same as above, plus the rotated log files are compressed by xz\n\nUsage: pipe-logger [OPTIONS]\n\nOptions:\n  -r, --rotate \u003cROTATE\u003e      Rotate the log file\n  -c, --count \u003cCOUNT\u003e        Assign the max count of log files\n      --compress             Compress the rotated log files\n      --err                  Re-output logs through stderr\n      --log-path \u003cLOG_PATH\u003e  The path that you want to store your logs [default: logfile.log]\n  -h, --help                 Print help\n  -V, --version              Print version\n```\n\n## Examples\n\n```bash\nlovable_process | pipe-logger -r 10m -c 5 --compress mylog.txt\n```\n\n```bash\nlovable_process \u003e \u003e(pipe-logger mylog.txt) 2\u003e \u003e(pipe-logger --err error-mylog.txt)\n```\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fpipe-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiclen%2Fpipe-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fpipe-logger/lists"}