{"id":15934828,"url":"https://github.com/6543/logfile-open","last_synced_at":"2025-06-12T12:07:52.718Z","repository":{"id":186231495,"uuid":"674858537","full_name":"6543/logfile-open","owner":"6543","description":"wrap the os.OpenFile to respect the USR1 signal","archived":false,"fork":false,"pushed_at":"2023-08-17T20:49:52.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T08:20:40.624Z","etag":null,"topics":["golang","golang-library","linux","logfile"],"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/6543.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":"2023-08-05T01:41:00.000Z","updated_at":"2023-11-16T02:49:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a1452cf-3e89-4cf5-babc-42c42161e843","html_url":"https://github.com/6543/logfile-open","commit_stats":null,"previous_names":["6543/logfile-open"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6543%2Flogfile-open","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6543%2Flogfile-open/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6543%2Flogfile-open/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6543%2Flogfile-open/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/6543","download_url":"https://codeload.github.com/6543/logfile-open/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245355605,"owners_count":20601760,"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":["golang","golang-library","linux","logfile"],"created_at":"2024-10-07T03:21:22.244Z","updated_at":"2025-03-24T21:32:36.414Z","avatar_url":"https://github.com/6543.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logfile-open\nwrap the os.OpenFile to respect the USR1 signal\n\n```\ngo get github.com/6543/logfile-open@latest\n```\n\n```go\nreadWriteCloser, err := logfile.OpenFile(\"/tmp/some_file.log\", 0o660)\n```\n\n## Windows\n\nif you compile this on windows it just open the file, as there is no such concept as signals.\nif you use the context aware open, the file will still be closed on context close.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6543%2Flogfile-open","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F6543%2Flogfile-open","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6543%2Flogfile-open/lists"}