{"id":21382296,"url":"https://github.com/zaphar/clio","last_synced_at":"2025-08-13T23:05:37.954Z","repository":{"id":242773004,"uuid":"810523489","full_name":"zaphar/clio","owner":"zaphar","description":"A small log redirection utility","archived":false,"fork":false,"pushed_at":"2024-06-08T00:58:28.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T11:14:40.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaphar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-04T21:33:06.000Z","updated_at":"2024-06-08T00:58:30.000Z","dependencies_parsed_at":"2024-06-08T01:31:19.703Z","dependency_job_id":null,"html_url":"https://github.com/zaphar/clio","commit_stats":null,"previous_names":["zaphar/clio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zaphar/clio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Fclio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Fclio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Fclio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Fclio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaphar","download_url":"https://codeload.github.com/zaphar/clio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaphar%2Fclio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270330595,"owners_count":24565816,"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-08-13T02:00:09.904Z","response_time":66,"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":[],"created_at":"2024-11-22T10:58:32.023Z","updated_at":"2025-08-13T23:05:37.902Z","avatar_url":"https://github.com/zaphar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clio A simple log redirector for stdout and stderr.\n\nClio redirects stdout and stderr for a subprocess to paths of your choosing.\nWhen sent a configurable signal, SIGHUP by default, it will reopen the file\nhandles that it is redirecting the output to.\n\nThis is handy for use with logrotate or or other log rotation tools where they\ncan inform the clio that the logs have been rotated and it's file handles are\nstale.\n\n```sh\n$\u003e clio --help\nA small log redirection utility\n\nUsage: clio [OPTIONS] --err-path \u003cSTDERR_PATH\u003e --out-path \u003cSTDOUT_PATH\u003e [-- \u003cCMD\u003e...]\n\nArguments:\n  [CMD]...  Command to run\n\nOptions:\n  -e, --err-path \u003cSTDERR_PATH\u003e  Path to write stderr to\n  -o, --out-path \u003cSTDOUT_PATH\u003e  Path to write stdout to\n  -p, --pid-file \u003cPID_FILE\u003e     Path to the place to write a pidfile to\n      --sig \u003cROTATED_SIGNAL\u003e    Signal notifiying that the file paths have been rotated [default: sighup] [possible values: sighup, sigusr1, sigusr2]\n  -h, --help                    Print help\n  -V, --version                 Print version\n```\n\n## Example\n\n```sh\nclio --err-path /var/log/app.err.log --out-path /var/log/app.out.log --sig sighup --pid-file app.pid -- app --flag1 --flag2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaphar%2Fclio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaphar%2Fclio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaphar%2Fclio/lists"}