Just insert the Element  a4j:log inside a form element to debug the site.
This element while insert a log console in the site.