Gary,

I want to activate logging in a sample myfaces application to determine where the process is breaking down.  I haven't been able to figured out here I turn on logging.  I have looked at the simple.war example and see the " log.info("ActionListener: " + outcome);" entry in NavigationMenu.java.  However, when I run the simple application I don't get any log out to the server log file. 

You mentioned " org.apache.myfaces.application.NavigationHandlerImpl.level=ALL" and "org.apache.myfaces.application.ActionListenerImpl.level=ALL" in your last response.  Where do I put this code to turn on logging? Also, you mentioned myfaces has great debug logging.  What is the best approach to using the logging features of myfaces?

I am using jboss4.0.3 for the web server.

Any help would be greatly appreciated....!!
Thanks..

On 12/27/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>From: "Matias Gomez Carabias" <[EMAIL PROTECTED]>
> Hi guys , first of all merry christmas.
>
> I'm having the following problem, I have an h:commandLink with an action
> defined and when clicked, nothing happens, this commandLink is inserted
> to the main jsp via de f:subview jsp:include tags.
>

 

I don't see anything wrong in the example you provided.  I would place some debug logic in the searchDocuments method of you backing bean to verify that it is not getting invoked.  If the method is being invoked, you might also check your navigation rules to make sure that the String you are returning has a matching navigation case. 

Something that I've used to help with this kind of problem is turning on debug logging within the java logging.properties file.  Myfaces has great debug logging.

org.apache.myfaces.application.NavigationHandlerImpl.level=ALL

org.apache.myfaces.application.ActionListenerImpl.level=ALL

 
>
> Thanks a lot in advance.
>
> Matias

Gary

>


Reply via email to