Logging activity in JBoss environments
All NexJ applications running on JBoss application
servers use Apache log4j, a Java-based logging utility, to generate log
files.
Log4j outputs two types of log files:
- NexJ Model Engine
- NexJ Model Engine
log files contain all messages associated with your NexJ application
business logic.
They have the following naming convention: nexj-environment.log.
- Application server
- Application server log files contain messages generated by the
JBoss application server. These are not messages from NexJ Model Engine.
They have the following naming convention: server-environment.log.
Log4j uses an XML configuration file called jboss-log4j.xml. It is located in the JBOSS_HOME\server\project\conf\ directory. You can modify this XML file to customize logging functionality for your specific business needs, such as logging information for individual users or specific components of the model.
Note: For more information about this functionality, see the Apache log4j
website.