Bug 5486 - Logrotate suggestion: avoid rotating logs out of existance
Logrotate suggestion: avoid rotating logs out of existance
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: logrotate (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-04 08:22 EDT by Pekka Savola
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-11-22 14:11:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 1999-10-04 08:22:21 EDT
This isn't exactly a bug, but submitting a feature
suggestion here seems as good a place as any.

There is a vital option that IMO should be in logrotate.
As it is, the only way I can think of to avoid your logs
rotating out of existance is to have them mailed to some
account which processes them accordingly.

However, IMO having to mail the old logs in order to be able
to archive them somehow is a huge kludge.
An alternative (not necessary the best one) might be moving
it to a directory and renaming it to [logfile].`date
+%d.%m.%Y` or something.
Comment 1 Erik Troan 1999-11-22 14:11:59 EST
You can set a very high number of rotations and get the proper affect.
Alternately, a prerotate script could copy the last version of the log
to a special directoyr for archival.

Note You need to log in before you can comment on or make changes to this bug.