Adding messages to the concurrent program log file

In this recipe, we are going to write to the log file to show the values of parameters that are passed into the executable. This is useful as we need a way of debugging and logging activity when a program is being executed. We can also write other messages to the log file of the concurrent program to report activity when the executable runs.

The tasks we are going to perform in this recipe are as follows:

  • Create a profile option to turn logging on or off
  • Set the profile option value
  • Add a procedure to write to the log file
  • Writing to the log file
  • Running the concurrent program
  • Viewing the log file

Create a profile option to turn logging on or off

Firstly we are going to create a profile option. This profile ...

Get Oracle E-Business Suite R12 Core Development and Extension Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.