First page Back Continue Last page Text

oracle adf workshop

Notes:


Core JSF Logging

You can use Java logging to display to the console the JSF phases of the life cycle and other exceptions occurring in the JSF code. You configure this in the <Java_Home>/jre/lib/logging.properties file. You set the logging level by changing the following line:

java.util.logging.ConsoleHandler.level = INFO

Change the level from INFO to FINE.

Then, at the end of the file, add the following line:

com.sun.faces.level=FINE

The log now includes JSF Reference Implementation messages, such as:

FINEST: End execute(phaseId=RESTORE_VIEW 1)

com.sun.faces.lifecycle.LifecycleImpl

hasPostDataOrQueryParams

FINEST: Request Method: POST/PUT

com.sun.faces.lifecycle.LifecycleImpl execute