1 Reply Latest reply on May 6, 2015 6:23 PM by jamezp

    jsf2 logging in wildfly

    pramanish

      Hi,

       

      Can anybody guide me how to enable logging of jsf2 in wildfly-8.1.0.CR1? Jsf2 is using java.util.logging so for that I tried updating D:\manish\wildfly-8.1.0.CR1\standalone\configuration\logging.properties but it seems Its overridden by logging submodule of standalone.xml.  Could anybody help me how to enable JSF2 logging?

       

      Thanks in advance.

       

      Thanks,

      Manish

        • 1. Re: jsf2 logging in wildfly
          jamezp

          Have a look at adding a logger with CLI. You'll just want to add the level you want do the add operation.

          /subsystem=logging/logger=javax.faces:add(level=DEBUG)
          

           

          Note too if you want to see the debug messages on your console you'll need to change the level on your console-handler as well.

          /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=DEBUG)
          

           

          --

          James R. Perkins