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:
(but I presume I set the category to be com.myPackage relating to my WAR)
What version of JBoss EAP are you using? JBoss EAP 6.4 has a log viewer on the web console and you can download the log files. Versions under that you'd need to SSH in or somehow get at the file system and view them that way.