How to generate an GL debug log file .

Detail Log for GL programs

Used for concurrent request problems where we need to know what sql was used in key areas or we need  to retain temporary tables.
Note: Be aware that temp tables are never dropped so leaving this on will create a build up of many temporary tables throughout GL, like gl_posting_interim_nnnnn

1. Set GL: Debug Mode profile option to Yes, run the program and provide the program log.
Note: This profile option introduced in GL 11i FP.D initially allowed 5 main GL concurrent processes (Posting, Translation, Consolidation, Revaluation and Mass Allocation) to be run in debug mode without the requirement for operating system command line access. This enhancement has not been released as a stand-alone patch.

2. Switch the profile back to No when the test is complete.

Note:On solving your current problems please get your DBA to delete temporary tables see Internal
Note.176180.1 Can the GL_Posting_Interim_XXX and GL_Summary_Interim_X_XXX Tables be Deleted?:

FND Log Messages

OA Framework (OA Fwk)
This is for web page issues like accounting setup manager, account analysis drill down, fsg drill down etc.

1. Log into system admin responsibility and set the following profile options at user level :
FND: Debug Log Enabled - Yes
FND: Debug Log Level - Statement

2. Run the following select in sqlplus :
 
SELECT MAX(log_sequence) FROM fnd_log_messages;

Take the max of log sequence and use it as log_seq1 in step#5

3. Reproduce the issue with above user for which fnd profile options are set.

4. Run the following select in sqlplus :

SELECT MAX(log_sequence) FROM fnd_log_messages;

Take the max of log sequence and use it as log_seq2 in step#5

5. Run following select to get the log messages and provide in xls format ::

SELECT LOG_SEQUENCE, MESSAGE_TEXT, USER_ID
FROM fnd_log_messages
WHERE log_sequence > log_seq1-1 and log_sequence < log_seq2+1 ;

You can also use
SELECT log_sequence, message_text,substr(module,1,100)
FROM fnd_log_messages msg
where log_sequence between <min_log_seq> and <max_log_seq>
ORDER BY LOG_SEQUENCE ;

6. Switch the FND: Debug Log Enabled profile back to No when the test is complete.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值