Default log4j output
After deployment, NexJ Studio automatically
configures log4j to output separate log files for each NexJ application on
your JBoss application server.
The log files are output to a directory specified in the jboss-log4j.xml file and can be opened using a text editor.
Filtering the logging information into multiple files helps identify which application is generating errors when troubleshooting performance issues.
For example, if you have two versions of the Finance application for
two different countries, the logging messages are output to separate
files:
- Finance-Canada outputs nexj-finance-canada.log and server-finance-canada.log.
- Finance-America outputs nexj-finance-america.log and server-finance-america.log.
In addition to generating separate log files for each application, you can enable or disable the generation of a merged log file which contains the combined logging messages from all of the applications on the server.