You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2007/11/02 11:23:17 UTC

[Myfaces Wiki] Update of "Tobago DebugPhaseListener" by VolkerWeber

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by VolkerWeber:
http://wiki.apache.org/myfaces/Tobago_DebugPhaseListener

New page:
To debug the the lifecycle phases of a ["Tobago"] application you can configure the !DebugPhaseListener.

Add the following into your faces-config.xml
{{{
  <lifecycle>
    <phase-listener>
      org.apache.myfaces.tobago.util.DebugPhaseListener
    </phase-listener>
  </lifecycle>
}}}

And configure your logging system to info, debug or trace for this class.

e.g. in log4j.xml:
{{{
  <category name="org.apache.myfaces.tobago.util.DebugPhaseListener">
    <priority value="debug" />
  </category>
}}}