Subject: | |
From: | |
Reply To: | |
Date: | Tue, 8 May 2001 15:48:05 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Tue, 8 May 2001 13:37:49 -0600, Keven Miller <[log in to unmask]> wrote:
>I don't suppose the concept of circular files comes to posix :)
>
>Maybe an enhancement is in order for rolling logfiles that change on a
>weekly/monthly/size=xxxx
>basis as some Windows apps do, and of couse MPE!
Actually, on (L)inux systems there is a "cron" task known as "logrotate".
The task script calls a program of the same name passing a log filename as
a parameter, the program in turn purges the "oldest" rotated logfile &
renames the current/prior (rotated) files [up to 4, generally] as
logfile.1, logfile.2, etc. This would give you the daily/weekly/monthly
log rotation, but not neccessarilly the "on size>=xxxx" rotation.
Tom
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|