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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: anyway to intentionally write to the alert log?

Re: anyway to intentionally write to the alert log?

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Thu, 21 Oct 2004 14:34:11 +0100
Message-ID: <007901c4b772$a60d9800$6702a8c0@Primary>

    

dbms_system.ksdwrt(1,'test')

    writes to alert log

dbms_system.ksdwrt(2,'test')

    writes to session's trace file

dbms_system.ksdwrt(3,'test')

    writes to both

see also

    dbms_system.ksddt - writes a date-time stamp
    dbms_system.ksdind(N) - indents text using ":' characters
    dbms_system.ksdfls - flushes the write to file

Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ

http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated Sept 19th

anyway to write whatever i want to the oracle alert log?
--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Thu Oct 21 2004 - 08:29:44 CDT

Original text of this message

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