Thursday 22 March 2018

How to Debug and See Log Messages in OAF Pages

How to Debug and See Log Messages in OAF Pages

In this post , we will discuss how we can see the Custom Log messages written in Controller Extensions for OAF Page. Some time we need Write Custom Messages in the Controller to do the Debugging but how we can see these custom messages when we will run that OAF page in Oracle application. I will show you that method by which you can see these messages in the OAF pages in Oracle application. This is Quite useful when you are doing Debugging in the OAF pages. This technique also useful to get the OAF page parameters values and to understand the behavior of the page like how and which event and controller is executing in which action so this will be quite useful for OAF developer to do the Controller Extension and to do the Debugging in the OAF page at run time.
 

How to Debug and See Log Messages in OAF Pages

 
Step1:- You have to Enable 'FND: Diagnostics ' Profile option for the User in which you want to see these Log messages.
 
Step2:- If you want to Put the Custom Messages in your Controller then you can put these messages like below.
 
 
public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    {
 
/*This is the Custom Message which will be show in OAF page in Oracle Application*/
      paramOAPageContext.writeDiagnostics(this, "XX Start PR ", 1); 
 
{
 
 
Step3:- After Enable the Profile Option Go to the Home page of your Application and go to 'Diagnostics' as below
 
How to Debug and See Log Messages in OAF Pages
 
 
 
Step4:-  Then You need to Choose Diagnostic Option 'Show Log on Screen' as below.
 
How to Debug and See Log Messages in OAF Pages
 
 
Step5:-  Log Level Option should Be ' Statement' Then Click Go.
FND: Diagnostics in OAF Page
 
 
Step6:- You can see the Log Messages shown below your OAF pages. You just need to Scroll down your Web page and you can see all these Standard and Custom messages there and can do the Debugging in that OAF page.
 
How to Show Diagnostics messages in Oracle Application OAF pages
 
 
How to Debug and See Log Messages in OAF Pages
 
 

1 comments:

Anonymous said...

Thank you very much for sharing valuable article with full information that benefits to the students to select best course go on keep rock.....Please contact us for Oracle R12 Financials Training in Ameerpet

details in our Erptree Training Institute

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *