Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Alert log....
Re the annoying leading whitespace:
If you're doing this with shell, run it through this filter:
sed -e 's/^ *//g' -e 's/^ *//g'
( those blanks are a tab and a space, respectively )
If you are doing it in perl simply use s/^\s+//
eg. $line =~ s/^\s+//;
HTH Jared
"Post, Ethan" <Ethan.Post_at_ps.net>
Sent by: ml-errors_at_fatcity.com
08/27/2003 03:44 PM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: RE: Alert log.... Be careful of grepping for "^ORA-", I occasionally get " ORA-"(spaces)
-----Original Message-----
Sent: Wednesday, August 27, 2003 3:04 PM
To: Multiple recipients of list ORACLE-L
> "Roger Xu" <roger_xu_at_dp7uptx.com>
for the guy that asked for writing the the alert.log file:
dbms_system.ksdwrt(2,'Test line...');
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.
HTH JL
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: Jared.Still_at_radisys.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Aug 27 2003 - 19:19:27 CDT
![]() |
![]() |