Skip to content
August 12, 2016 / doganay

HOW TO ADD LINES TO TRACE FILES AND/OR ALERT LOG USING DBMS_SYSTEM

--Writes to trace file:
SQL> exec dbms_system.ksdwrt(1, 'ORA-600: TEST :Check udump');
PL/SQL procedure successfully completed.


--Writes to alert log:
SQL> exec dbms_system.ksdwrt(2, 'ORA-600: TEST :Check alert log');
PL/SQL procedure successfully completed.


--Writes to alert log and trace file:
SQL> exec dbms_system.ksdwrt(3, 'ORA-600: TEST :Check alert log and udump');
PL/SQL procedure successfully completed.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: