{"id":36566968,"url":"https://github.com/arnulfojr/sanic_apache_accesslogs","last_synced_at":"2026-01-12T07:04:57.562Z","repository":{"id":57463816,"uuid":"131024963","full_name":"arnulfojr/sanic_apache_accesslogs","owner":"arnulfojr","description":"Sanic Plugin to log access logs in common or combined format","archived":false,"fork":false,"pushed_at":"2018-05-04T11:35:07.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T21:38:33.315Z","etag":null,"topics":["accesslog","apache","plugin","python3","sanic"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/arnulfojr.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":"2018-04-25T15:13:28.000Z","updated_at":"2022-09-10T06:50:36.000Z","dependencies_parsed_at":"2022-09-05T06:01:27.048Z","dependency_job_id":null,"html_url":"https://github.com/arnulfojr/sanic_apache_accesslogs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/arnulfojr/sanic_apache_accesslogs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnulfojr%2Fsanic_apache_accesslogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnulfojr%2Fsanic_apache_accesslogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnulfojr%2Fsanic_apache_accesslogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnulfojr%2Fsanic_apache_accesslogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnulfojr","download_url":"https://codeload.github.com/arnulfojr/sanic_apache_accesslogs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnulfojr%2Fsanic_apache_accesslogs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["accesslog","apache","plugin","python3","sanic"],"created_at":"2026-01-12T07:02:47.582Z","updated_at":"2026-01-12T07:04:57.547Z","avatar_url":"https://github.com/arnulfojr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sanic Apache Access Logs\n\nSanic Plugin to log access logs in common or combined format\n\n## How to use\n\n\n```python\nfrom sanic import Sanic\nfrom sanic.response import json\nfrom sanic_apache_accesslogs import AccessLogPlugin\n\n\n# If using gunicorn, for example, the logging configuration should\n# ignore `sanic.access`\napp = Sanic(__name__)\n\nAccessLogPlugin(app)\n\n\n@app.route('/', methods=['GET'])\nasync def hello(request):\n    return json({'hello': 'world'})\n\n\nif __name__ == '__main__':\n    # do not use sanic's access logs\n    app.run(host='localhost', port=5000, access_log=False)\n```\n\n\n## Common or Combined?\n\n\nFor choosing the format set the environment variable `ACCESSLOG_USE_COMBINED` to choose combined over common.\n\n\n## TODO(s)\n\n* Use Sanic configuration context to choose between the logging format.\n\n\n## Contact\n\nArnulfo Solis\narnulfojr94@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnulfojr%2Fsanic_apache_accesslogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnulfojr%2Fsanic_apache_accesslogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnulfojr%2Fsanic_apache_accesslogs/lists"}