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:
- Statement
- Procedure
- Event
- Exception
- Error
- 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
Post a Comment