Writing to the alert log
                                                 Last update (2008-02-21 14:43:25)
                                                                                                                   Date added (2008-02-21 14:42:49)

Summary
Sometimes you may need to right you own custom messages to alert log file. For example when you have set up a "procedure" that moves or compresses one table. Oracle has the dbms_system.ksdwrt procedure to write your message to alert log.

Example
dbms_system.ksdwrt(2,'You custom message');
Will write the text to the alert log.
Use 1 instead of 2 to write to the trace file.
Use 3 to write to both.
Reviews
Categories
Oracle DBA-> (147)
  Alertlog (3)
  Archivelog (5)
  Auditing (1)
  Backup - Recovery (19)
  Database files (6)
  Database options (2)
  DB links (2)
  Dependencies (1)
  Dictionary (2)
  Exp-Imp Datapump (6)
  Jobs (2)
  Mview (2)
  Networking (3)
  Objects (7)
  Parameters (2)
  Redologs (6)
  Roles - Grants (2)
  Rollback - Undo (8)
  Segments (3)
  Sequences (2)
  Sessions (14)
  SGA (14)
  Tables (10)
  Tablespaces (10)
  Temp (4)
  Toad (5)
  Transactions (1)
  Upgrade (2)
  Users (3)
Oracle APPS DBA-> (66)
Exadata (1)
Performance Tuning-> (59)
Oracle Real Cases (24)
Oracle Errors (23)
Oracle SQL tricks (32)
Oracle RAC (3)
Oracle Security (8)
Filters
Search