Debug Trace Quicklist (2)

Embed Size (px)

Citation preview

RECEIVING DEBUG AND TRACE QUICKLISTIf RCV: Processing Mode=Immediate (preferred) or Batch1. a. b. c. d. e. f. g. h. Debug and trace profiles: RCV: Debug Mode=Yes FND: Debug Log Enabled=Yes FND: Debug Log Level=Statement FND: Debug Log Module=% TP:INV Transaction processing mode=On-line INV: Debug Trace=Yes INV:Debug Level=11 INV: Debug file (Including the complete path)=

/naoaprd1/app/comn/temp/Inv_debug_BRETT.log

i. OM: Debug Level = 5 j. OM: Debug Log Directory = /naoaprd1/app/comn/temp 2. Debug and trace details: a. Receiving Transaction Processor Request Log (View > Requests) b. Output from fnd_log_messages **per Note 299497.1 Section E Step 1a c. Inventory debug log file **path/filename specified in Step 1h above d. Trace file (both raw and tkprofd) **per Note 299497.1 Section F Steps 1 and 2

If RCV: Processing Mode=On-line1. a. b. c. d. e. f. g. h. Debug and trace profiles: RCV: Debug Mode=Yes FND: Debug Log Enabled=Yes FND: Debug Log Level=Statement FND: Debug Log Module=% TP:INV Transaction processing mode=On-line INV: Debug Trace=Yes INV:Debug Level=11 INV: Debug file =

/naoaprd1/app/comn/temp/Inv_debug_BRETT_.log

i. OM: Debug Level = 5 j. OM: Debug Log Directory = /naoaprd1/app/comn/temp k. Initialization SQL Statement Custom=

Enable trace for a specific user: Bring up the Core application - System Administrator responsibility Move to Profile/System Check off the USER box - and enter the username of the user for whom trace needs to be enabled Search on the following profile option - 'Initialization SQL Statement - Custom' Please set this at the user level with the following string:BEGIN FND_CTL.FND_SESS_CTL('','', '', 'TRUE','','ALTER SESSION SET TRACEFILE_IDENTIFIER='||''''||'64155_BRETT_26DEC12' ||''''||' EVEN TS ='||''''|| '10046 TRACE NAME CONTEXT FOREVER, LEVEL 12 '||''''); END;

# 1. Cut and paste the above sql statement into the profile value editor. This must be one complete line of text - so may be best to copy the string into notepad prior to putting it into the profile and making sure that there are no special characters in the string. # 2. String ''64155_BRETT_26DEC12' in the above statement can be changed to any userdefined value. This is the string that will be included in the filename and will help in identifying all the trace files related to a session.

2. Debug and trace details: a. Output from fnd_log_messages **per Note 299497.1 Section E Step 1a b. Inventory debug log file **path/filename specified in Step 2h above c. Trace file (both raw and tkprofd) **per Note 299497.1 Section F Steps 1 and 3