write a script which will work in such a fashion when ever your log reaches to your threshold It will transfer the alert log file into another zipped file and your main log directory will be emptied and remain intact.
As by default whenever oracle won't find alert .log ,It creates another new one and keep on writing alert logs over there
Thanks & Regards,
Santanu Majumdar|Software Engineer| M P H A S I S an EDS Company |
Kshema Dhama, Tel: +91 80 2860 3600
________________________________
From: kidambi [mailto:oracledba-ezmlmshield-x56271525.[Email address protected]
Sent: Tue 4/3/2007 1:17 PM
To: LazyDBA Discussion
Subject: Purge the alert log file
Hi all,
Please suggest a mechanism by which we can purge the contents of alert log
file as it has grown to more than 1gb.
Thanks.
Kind regards,
Raj
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit us at http://www.polaris.co.in <http://www.polaris.co.in/>
---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com <http://jobs.lazydba.com/>
To Subscribe : http://www.LazyDBA.com <http://www.lazydba.com/>
To unsubscribe: http://www.lazydba.com/unsubscribe.html
Oracle LazyDBA home page