Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Rotate alert log

Re: Rotate alert log

From: Buck Turgidson <jc_va_at_hotmail.com>
Date: Fri, 16 Jan 2004 13:22:20 GMT
Message-ID: <c92e3b743d0575b828d55d92d4899cb1@news.teranews.com>


>
> Is it possible to rotate the alert log without bouncing the database? I
know
> it is for the listener log but i need to rotate an alert log and can't
> really bounce the instance.
>
> I doubt it is possible and can't seem to find a answer in the archives so
> any input would be appreciated.
>

Linux has a pretty good log rotate utility called, well, logrotate. You can configure it to rotate at a specified time, retain n number of days, compress rotated logs, etc.

This is what my rotate entry for cron looks like.

/var/log/cron.log {

    dateext
    missingok
    maxage 3
    rotate 1
    notifempty
    size=1
} Received on Fri Jan 16 2004 - 07:22:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US