{"id":17369628,"url":"https://github.com/jblond/mod_log_rotate","last_synced_at":"2025-08-02T11:32:58.816Z","repository":{"id":4762232,"uuid":"5912716","full_name":"JBlond/mod_log_rotate","owner":"JBlond","description":"mod_log_rotate module for native log rotation for apache","archived":false,"fork":false,"pushed_at":"2022-01-12T09:56:39.000Z","size":35,"stargazers_count":8,"open_issues_count":1,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-15T03:45:29.577Z","etag":null,"topics":["apache","apache2","c","httpd-logs","log-rotation","logrotate","module"],"latest_commit_sha":null,"homepage":"","language":"C","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/JBlond.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}},"created_at":"2012-09-22T12:01:24.000Z","updated_at":"2024-02-25T19:52:45.000Z","dependencies_parsed_at":"2022-09-21T00:42:10.250Z","dependency_job_id":null,"html_url":"https://github.com/JBlond/mod_log_rotate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/JBlond/mod_log_rotate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBlond%2Fmod_log_rotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBlond%2Fmod_log_rotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBlond%2Fmod_log_rotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBlond%2Fmod_log_rotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBlond","download_url":"https://codeload.github.com/JBlond/mod_log_rotate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBlond%2Fmod_log_rotate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378965,"owners_count":24240907,"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-02T02:00:12.353Z","response_time":74,"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":["apache","apache2","c","httpd-logs","log-rotation","logrotate","module"],"created_at":"2024-10-16T00:05:55.850Z","updated_at":"2025-08-02T11:32:58.786Z","avatar_url":"https://github.com/JBlond.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mod_log_rotate\n\nOriginal from andya ät apache.org\n\nModified version from Mario Brandt / JBlond\n\n## INTRODUCTION\n\nIf you host a lot of virtual servers on a single Apache box and use the supplied rotatelogs\nprogram to rotate the access logs you'll notice that your process table is cluttered up with an instance\nof rotatelogs for each virtual server. With mod_log_rotate the log rotation is handled by the server\nprocess so you save a bunch of processes and file descriptors.\n\nNote: error log files can not be rotated with this module.\n\n## BUILD\n\nSee [build.md](build.md)\n\n## INSTALL\n\n\tCopy mod_log_rotate.so to your Apache 2.4.x modules folder\n\t.../apache24/modules/mod_log_rotate.so\n\n## USAGE:\n\n```\nLoadModule log_rotate_module modules/mod_log_rotate.so\nRotateLogs On\n```\n\nYou can specify a strftime() format string as the log file name.\n\n```\nCustomLog logs/%Y%m%d-%H%M%S.access.log common\n```\n\n## CONFIGURATION DIRECTIVES:\n\n\tRotateLogs On|Off   Enable / disable automatic log rotation. Once enabled\n\t\t\t\t\t\tmod_log_rotate takes responsibility for all log output\n\t\t\t\t\t\tserver wide even if RotateLogs Off is subsequently\n\t\t\t\t\t\tused. That means that the BufferedLogs directive that\n\t\t\t\t\t\tis implemented by mod_log_config will be ignored.\n\n\tRotateLogsLocalTime Normally the log rotation interval is based on UTC.\n\t\t\t\t\t\tFor example an interval of 86400 (one day) will cause\n\t\t\t\t\t\tthe logs to rotate at UTC 00:00. When this option is\n\t\t\t\t\t\ton, log rotation is timed relative to the local time.\n\n\tRotateInterval      Set the interval in seconds for log rotation. The\n\t\t\t\t\t\tdefault is 86400 (one day). The shortest interval that\n\t\t\t\t\t\tcan be specified is 60 seconds. An optional second\n\t\t\t\t\t\targument specifies an offset in minutes which is\n\t\t\t\t\t\tapplied to UTC (or local time if RotateLogsLocalTime\n\t\t\t\t\t\tis on). For example RotateInterval 86400 60 will\n\t\t\t\t\t\tcause logs to be rotated at 23:00 UTC.\n\n## Bugs\n\nA wrong configured placeholder for strftime causes a crash in the module.\nSo if you use Y% instead of %Y apache crashes with a segfault. This bug is confirmed on Windows\nand might happen on *nix based systems, too.\nOn Windows it is the call of strftime in timestr.c (APR) line ~ 190 [win32_strftime_extra]\n\n\n## AVAILABILITY\n\n### AVAILABILITY of the original\n\nmod_log_rotate.c original source code under the Apache License Version 2.0\nis no longer available.\n\n### AVAILABILITY of the modified version\n\nhttps://github.com/JBlond/mod_log_rotate\n\n### AVAILABILITY Windows binary x86 and x64\n\nhttps://www.apachehaus.com/cgi-bin/download.plx\n\n## Contribute\n\nContributers are welcome. Open Pull request or file an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjblond%2Fmod_log_rotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjblond%2Fmod_log_rotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjblond%2Fmod_log_rotate/lists"}