I'm trying to make a Debian system rotate its logfiles so that each
previous day's logs have -MM-DD appended to the name (just before
compression) and they then keep the same name until deleted.
As opposed to the standard Debian method, where logs get a single
number appended, which is then cha
On 1/24/08, Johannes Wiedersich <[EMAIL PROTECTED]> wrote:
>
> "man logrotate" is your friend:
> /
>dateext
> Archive old versions of log files adding a daily extension
> like MMDD instead of simply adding a number.
> \
On 1/24/08, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
>
> Use your language-of-choice (e.g. python would be fine, Ada would be
> overkill) and do it. Probably quite simple.
My language-of-choice would be a Bash script, or Perl at a push. It's
log file rotation, it should be kept simple.
One of
3 matches
Mail list logo