1 Reply Latest reply on Nov 14, 2016 6:33 PM by James Perkins

    (hopefully simple) - How do I get logs of my applications running on remote JBOSS?

    Matt Lindsay Newbie

      Hi all,

       

      I'm running a JBOSS AS7 standalone instance in Amazon AWS. I have about 5 applications running on it. I'm trying to get to grips with the logging subsystem, and I know that errors and logs are being captured by JBOSS (I turned the root-Logger in standalone.xml from WARN to DEBUG and then I could see the debug logs from my applications in the logs). Unfortunately it's all mixed in with core JBOSS debug info. My question has two parts really:

       

      1) How do I create logs that it solely my application's logs?

      2) How can I connect up to something (console? JMX?) in order to see output from this remote JBOSS instance on my local machine. It's a proper faff having to remote into the console and go an search static log files.

       

      In partial question to item (1) My reading of the help suggests that I configure a logger such as:

         <logger category="com.arjuna">

             <level name="WARN"/>

         </logger>

      (but I presume I set the category to be com.myPackage relating to my WAR)

       

      but how do I apply a handler to that?

       

      Any help appreciated.

       

      Many thanks