1 Reply Latest reply on Aug 5, 2016 1:14 PM by jamezp

    logging to confirm jboss-deployment-structure.xml

    milspec

      Hi all,

       

      how can I set up wildfly logging so I-the-developer can confirm that jboss-deployment-structure.xml does what I expect?

       

      For example, I'd like to set up logging so that I server.log tells me tha jboss/wildfly:

       

      • finds jboss-deployment-structure.xml in the ear (or whatever it is)
      • acts on the various directives in the file "DEBUG setting ear-subdeployments-isolated to false"



      The context here : migrating an app from and old version of jboss to wildfly and I anticipate classloading problems.


      thanks in advance

       

       

       

       

        • 1. Re: logging to confirm jboss-deployment-structure.xml
          jamezp

          There doesn't seem to be any logging on if or where the jboss-deployment-structure.xml was located. However the processors will always look in the META-INF and WEB-INF directories of deployment.

           

          You can enable trace or debug logging for JBoss Modules which will give you a lot of information. You can add a logger in the web console or in CLI. Here is a CLI example of adding a logger at level TRACE.

           

          /subsystem=logging/logger=org.jboss.modules:add(level=TRACE)
          

           

          --

          James R. Perkins