Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Rotate alert log
>
> 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