How would/can you generate errors/entries in alert.log file..
I want to intentionally have ORA_errors and have it checked through a script.. Thanks
Printable View
How would/can you generate errors/entries in alert.log file..
I want to intentionally have ORA_errors and have it checked through a script.. Thanks
Set up the 'events' parameter in the init.ora for the error. When this error triggers in the db, it will write it to the alert.log.
If you are just testing a script (and you're on unix)
echo "ORA-00600: you made a boo-boo" >> alertSID.log