Differences between revisions 1 and 2
Revision 1 as of 2007-11-02 10:23:12
Size: 524
Editor: VolkerWeber
Comment:
Revision 2 as of 2009-09-20 23:01:52
Size: 524
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
To debug the the lifecycle phases of a ["Tobago"] application you can configure the !DebugPhaseListener. To debug the the lifecycle phases of a [[Tobago]] application you can configure the !DebugPhaseListener.

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>

Tobago_DebugPhaseListener (last edited 2009-09-20 23:01:52 by localhost)