0% found this document useful (0 votes)
169 views3 pages

How To Enable and Retrieve FND Debug Log Messages (Doc ID 433199

This document provides instructions for enabling and retrieving debug log messages from Oracle Applications. It explains that setting profiles in the application allows debugging to be turned on for a specific user, responsibility, and application. The steps are to set the necessary profiles, note the current log sequence number, reproduce the issue, and then query the log table to retrieve all messages above the starting sequence number. This will provide debug information to help resolve issues.

Uploaded by

Hacene Lamraoui
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views3 pages

How To Enable and Retrieve FND Debug Log Messages (Doc ID 433199

This document provides instructions for enabling and retrieving debug log messages from Oracle Applications. It explains that setting profiles in the application allows debugging to be turned on for a specific user, responsibility, and application. The steps are to set the necessary profiles, note the current log sequence number, reproduce the issue, and then query the log table to retrieve all messages above the starting sequence number. This will provide debug information to help resolve issues.

Uploaded by

Hacene Lamraoui
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

How to enable and retrieve FND debug log messages (Doc ID 433199....

1 sur 3

Navigation

https://sites.google.com/site/jazzurhytm/documentation/general/howto...

Oracle Documentation from Project > General >

Oracle Documentation
from Project
Daily
Sitemap

posted Jan 7, 2015, 11:10 PM by Iwan Herdian

How to enable and retrieve FND debug log messages (Doc ID 4


In this Document
Goal
Solution
References

APPLIES TO:
Oracle Sales Online - Version 11.5.10.0 and later
Oracle Sales - Version 11.5.10.0 and later
Oracle Service Contracts - Version 11.5.10 and later
Oracle TeleSales - Version 11.5.10.0 and later
Oracle Marketing - Version 11.5.10.0 and later
Information in this document applies to any platform.

GOAL

Sometimes, an Oracle application fails with an unexpected error, or a "sile


requested to provide an FND debug log. This note explains the steps need

Please note that FND debug information in itself will not provide a solutio
with an action plan.

Starting in 11.5.10, FND has incorporated a debugging technique to enable


This note gives simple steps on how to enable and retrieve the debug mes
This method will pick up *all* debug messages from a particular log_seque
user. However, if there are multiple users with FND debugging enabled run

SOLUTION

14/03/2015 18:23

How to enable and retrieve FND debug log messages (Doc ID 433199....

2 sur 3

https://sites.google.com/site/jazzurhytm/documentation/general/howto...

1) set up profiles for the User / Responsibility to be used to reproduce the


Responsibility: System Administrator
Navigation: Profile > System
Query up the Application, Responsibility and User you will use to reproduce
For example:
Application = Receivables
Responsibility = Receivables Manager
User = MYUSER1
Profile = FND%Debug%
then set the profiles as shown below:
Profile Name

Suggested

FND: Debug Log Enabled

YES

FND: Debug Log Filename

leave this bla

FND: Debug Log Level

Statement

FND: Debug Log Module

Following are examples on how you would set the above profiles dependin
sample setting to debug everything :
FND:
FND:
FND:
FND:

Debug
Debug
Debug
Debug

Log
Log
Log
Log

Enabled YES
Filename NULL
Level STATEMENT
Module %

sample setting to debug ONLY Receivables :


FND:
FND:
FND:
FND:

Debug
Debug
Debug
Debug

Log
Log
Log
Log

Enabled YES
Filename NULL
Level STATEMENT
Module ar%

2) Since the debugging routine will start writing messages to the table, we
id. Otherwise, note down current max value of log sequence retrieved as f

SELECT MAX(LOG_SEQUENCE)
FROM FND_LOG_MESSAGES;

3) Run your test case, try to stay on track in reproducing the issue and lea
Responsibility you have enabled debug for, so that only messages pertaini
4) For ease of review by Development, spool the output of the following to

14/03/2015 18:23

How to enable and retrieve FND debug log messages (Doc ID 433199....

3 sur 3

https://sites.google.com/site/jazzurhytm/documentation/general/howto...

a) If you are debugging a concurrent process :


SELECT log.module , log.message_text message
FROM fnd_log_messages log,
fnd_log_transaction_context con
WHERE con.transaction_id = < request_id >
AND con.transaction_type = 'REQUEST'
AND con.transaction_context_id = log.transaction_context_id
ORDER BY log.log_sequence;

b) Otherwise,
SELECT module, message_text
FROM fnd_log_messages
WHERE log_sequence > &max_log_from_step2
ORDER BY log_sequence;

Or you may select all columns with:


SELECT * FROM fnd_log_messages
WHERE log_sequence > &max_log_from_step2
ORDER BY log_sequence;

Se connecter | Activits rcentes sur le site | Signaler un abus | Imprimer la page | Avec la technologie de Google Sites

14/03/2015 18:23

You might also like