Bug 97790
Summary: | logrotate extension doesn't do anything | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Marcus Leonard <marcus.leonard> |
Component: | logrotate | Assignee: | Elliot Lee <sopwith> |
Status: | CLOSED NOTABUG | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-07-09 19:38:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marcus Leonard
2003-06-21 05:27:51 UTC
extension is used for a different purpose than it appears. It is useful when you have a logfile named something like mylog.fred and want to rotate it to mylog.1.fred.gz instead of mylog.fred.1.gz. Very boring, really. Datestamping would not work anyways because logrotate needs to be able to figure out the base part of the filename in order to know which files to rotate, and your particular method of datestamping (using shell backticks) won't currently work because logrotate (like most programs) does not evaluate the extension value in the shell. But, you're welcome to come up with a patch to add the new functionality :) |