You are on page 1of 2

How to generate Debug Log Files for Oracle Quoting R12? [ID 430265.

1] Modified 18-APR-2011 Type BULLETIN Status PUBLISHED

Applies to:
Oracle Quoting - Version: 12 and later [Release: 11 and later ]

Purpose
To generate debug log files for Oracle Quoting in Release 12. This feature creates separate user log files for both the Java Layer (middle tier) and PL/SQL (database tier) layers.

Scope and Application


Generating Debug Log files from HTML Quoting 1. Set required profile options 1.1. Set the 'OM: Debug Log Directory' profile at the site level to a directory that is writable by the database server. The profile value must be one of the directories listed in the utl_file_dir parameter. To find the utl_file_dir value set, the following query may be executed: select value from v$parameter where name = 'utl_file_dir' 1.2. Set following profiles: OM: Debug Level - to 5 at the Site level ASO : Enable ASO Debug - to Yes at the User level FND: Debug Log Enabled - to Yes at the User level FND: Debug Log Module - to % at the User levell FND: Debug Log Level User - to Statement FND: Debug Log Filename for Middle-Tier - Need to set to full path with filename (eg /temp/qot_fwk.log) - If the 'FND: Debug Log Filename for Middle-Tier' and' OM: Debug Log Directory' profiles are set to the same directory, be sure to specify a unique file name identifier for the value entered in the 'FND: Debug Log Filename for Middle-Tier'. By default the log file created in 'OM: Debug Log Directory' will have filename format of QOT_.log. Need the filename in 'FND: Debug Log Filename for Middle-Tier' to be a different name to generate complete logging. - Replace with complete path of directory located in Middle Tier.

2. Set optional profile options The following profile options might also need to be set based on additional debug information required. 2.1 Set 'QP: Debug' profile to 'Request Viewer Off'. [Required only when Pricing information is needed] 2.2 Set 'MSC: ATP Debug Mode' profile to 'Debug Only' at the Site level. [Required only when ATP information is needed] Make sure it is Not set (NULL) at user level. A session-* log file will be generated in the 'utl_file_dir' directory. 2.3 The Tax (ZX) logging will be included in the log file specified in the FND: Debug Log Filename for Middle-Tier with the FND: Debug Log Module set to %, all logging will be included for the tested flow. 2.4 The Configurator (CZ) logging will be included in the log file specified in the FND: Debug Log Filename for Middle-Tier with the FND: Debug Log Module set to %, all logging will be included for the tested flow.

3. Replicate Issue 3.1. Execute the steps necessary to reproduce problem/behavior. 3.2. Unset profiles 'OM: Debug Level', 'ASO : Enable ASO Debug' and FND: Debug Log Enabled' to stop the debugging. 3.3. Please upload the following log files to Service Request: - The Quoting pl/sql log file will be generated in the directory (located in the Database Tier) specified by the 'OM: Debug Log Directory' System Profile and has the syntax of QOT_.log - The Quoting java layer log file will be generated based of value specified by the 'FND: Debug Log Filename for Middle-Tier' system profile (located in the Middle Tier). Both log files are accumulative.

You might also like