PL/SQL (MOSC)

MOSC Banner

How to write a log file for a Procedure

edited Jan 16, 2013 5:59AM in PL/SQL (MOSC) 14 commentsAnswered
Hello,

I have written a stored procedure and used dbms_output to print the object_ids on sql*plus. Now instead of using dbms_output, I want to use log file. Like when I open the procedure, it should open a log file in writing mode and then keep writing there for each messages. This is basically required since the procedure actually inserting bulk data into various tables. So log file will help me to identify the errors etc.

Appreciate your help please!

Regards,

Saurav

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center