I have deployed my application as several remote and local session beans in Jboss 7.These beans provide remote interface to access postgres datbase with JPA methods.
I need reccord a lot of information including normal operation and database exception information.
I find the Jboss 7 default logging subsystem is good enough to record server information.
So can I configure the Jboss 7 logging system to record my deployed application information?
How to configure this loging system?How to use the loging interface or methods from Jboss 7 in my session bean to record my informaiton?
Thanks for your help.
Have a look at
https://docs.jboss.org/author/display/AS71/Logging+Configuration
and google for jboss logging examples