[OAF] How to display logs on screen in Oracle OAF?

 


There are various levels at which you can display logs in Oracle OAF.  In this post we will see how to display OAF Logs on screen at Level 1 i.e. Statement.

OAF levels are:

  1. Statement
  2. Procedure
  3. Event
  4. Exception
  5. Error
  6. Unexpected
  • Login to EBS and navigate to Settings -> Diagnostics
  • Set Diagnostic as Show Log on Screen
  • Set Log Level as Statement (1) and press Go button
  • Now, in Java Files you can write diagnostics. Like below in controller file

public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
 super.processFormRequest(pageContext, webBean);
 
 pageContext.writeDiagnostics(this, "Inside Controller", 1); //Here 1 is for Statement
       
}
 
 
 

Comments