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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Trace files for specific errors

Re: Trace files for specific errors

From: <sybrandb_at_yahoo.com>
Date: 10 Nov 2005 06:36:57 -0800
Message-ID: <1131633416.912167.290290@g43g2000cwa.googlegroups.com>


1 It would
2 Alter system set events= would do too, and alter session set events= in an after logon trigger would do the same. 3 Alternatively you could program an on servererror trigger. This won't capture the statement though, IIRC, but you could (re) RAISE the error again in your trigger.
4 If you have several events to set they need to adjacent to each other (with no other parameters in between) to get them all. Other than that, they can be anywhere.
5 You can set the parameter tracefile_identifier, and this parameter will be included in the name of your trace file.

Hth

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Thu Nov 10 2005 - 08:36:57 CST

Original text of this message

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