1 Reply Latest reply on Nov 14, 2016 7:04 PM by jamezp

    Very simple - how do I see the debug/log information?

    mattlindsay

      All,

      I'm using JBOSS AS7 in quite a simple way. Sometimes I need to debug issues in the .war that I have uploaded that are sitting there and responding to http requests. I have usual Logger in there as:

      Initialised as:

      private static final Logger Log = LoggerFactory.getLogger(RestCompose.class);

       

      Used as:

      Log.debug("Creating cache manager");

       

      and my POM has:

      <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>1.7.12</version>
      </dependency>

       

       

      <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.12</version>
      </dependency>

       

      <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.16</version>
      </dependency>

       

      now, how can I see the debug output (and errors, stacktrace etc) that JBOSS must produce? Do I need to connect up to it via CLI, or is there a screen if I log into the GUI?

       

      Any help appreciated thanks