Re: ADRCI in 11g

From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Sun, 11 Sep 2011 02:20:18 +0000 (UTC)
Message-ID: <pan.2011.09.11.02.20.17_at_gmail.com>



On Sat, 10 Sep 2011 17:55:06 -0700, The Magnet wrote:

> Hi,
>
> I've noticed that the PURGE command in the new Adrci seems to work
> rather strangely. It does not seem to operate on the contents of the
> log.xml, but the actual file date / time. So, if my alert log gets
> messages throughout the day, then trying to purge a day will not work.
>
> I ran a test, had some entries created, waited 30 minutes, created more
> entries, then issues a purge to purge everything older than 5 minutes.
> I did SHOW ALERT, and nothing was removed.
>
> How is one to remove entries from the log.xml? We'll be putting this
> all into a shell script to help us manage / rotate the logs.

Don't you ever read old threads? I started one thread exactly about this few days ago. The outcome was this:

Bug 12426625: ORACLE 11.2.0.2 CONFIGURATION, ADRCI "SET CONTROL" AND "PURGE" DO NOT WORK

-- 
http://mgogala.byethost5.com
Received on Sat Sep 10 2011 - 21:20:18 CDT

Original text of this message