| Summary: | [patch] [request] newsyslog(8) -- provide ability to compress Nth rotated file | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | david | ||||||
| Component: | bin | Assignee: | Marcelo Araujo <araujo> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Some People | CC: | Artis.Caune, araujo, ben.rubson, ler | ||||||
| Priority: | Normal | Keywords: | patch | ||||||
| Version: | 7.0-CURRENT | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
david
2007-08-14 00:30:01 UTC
This patch would be really useful for Apache : http://httpd.apache.org/docs/current/stopping.html "At present there is no way for a log rotation script using USR1 to know for certain that all children writing the pre-restart log have finished. We suggest that you use a suitable delay after sending the USR1 signal before you do anything with the old log." So this patch really helps, as we can then choose not to compress the first rotated file. Could we think about committing / MFCing it please ? Many thanks ! Ben Updated to reflect "Affects some people" (per request). Created attachment 181029 [details]
Provide ability to compress Nth rotated file, FBSD11
Attached is an updated (an tested) patch for FreeBSD11. Could we think about merging it please ? Thank you very much ! Ben Many thanks Marcelo ! Just solved in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162798 ? |