www/nginx site access log rotation
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 863
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 10
Description
Important notices
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
I am using the RAM disk option for logging, under sustained scraper load my site's access log consumes all the available space.
Describe the solution you'd like
System-wide log rotation settings (i.e. under Admin) could rotate and compact the site access (and error) logs.
Alternatively, separate configuration could be done for nginx, but I wouldn't need it myself.
Describe alternatives you've considered
Custom cron job.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing Admin system-wide log rotation behavior and the nginx plugin's site access and error logging configuration. Clarify whether rotation belongs in the shared settings or nginx-specific configuration; done means both logs rotate and compact reliably under sustained load without exhausting the RAM disk.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100