Oracle DBMS_LOG
Version 12.1.0.1

General Information
Library Note Morgan's Library Page Footer
The Library is currently in the process of being upgraded from Oracle Database Version 12.1.0.1 to 12.1.0.2. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.

Interested in Oracle GoldenGate? Check out the IGGOUG,
Purpose Undocumented but appears to be an attempt to move the four named PL/SQL objects out of DBMS_SYSTEM.
AUTHID DEFINER
Dependencies
DBMS_SYSTEM    
Documented No
First Available 12.1.0
Security Model Owned by SYS with no privileges granted
Source {ORACLE_HOME}/rdbms/admin/prvtlog.plb
Subprograms
 
KSDDDT
Prints the date stamp to the target file (alert log and/or trace file) dbms_log.ksdddt;
exec dbms_log.ksdddt;
 
KSDFLS
Flushes any pending output to the target alert log or trace file dbms_log.ksdfls;
exec dbms_log.ksdfls;
 
KSDIND
Does an 'indent' before the next write (ksdwrt) by printing that many colons (:) before the next write. dbms_log.ksdind(lvl IN BINARY_INTEGER);

Range of valid values from 0 to 30.
exec dbms_log.ksdind(5);
exec dbms_log.ksdwrt(3, 'Test Message');
 
KSDWRT
Prints a message to the target file (alert log and/or trace file) dbms_log.ksdwrt (dest IN BINARY_INTEGER, tst IN VARCHAR2);

1: Write to the standard trace file
2: Write to the alert log
3: Write to both files at once
exec dbms_system.ksdwrt(3, '-- Start Message --');
exec dbms_system.ksdwrt(3, 'Test Message');
exec dbms_system.ksdwrt(dbms_system.alert_file, '-- End Message --');

Related Topics
DBMS_SYSTEM
Packages

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2014 Daniel A. Morgan All Rights Reserved