Configuring named user and component logging
You can enable named user and component logging by adding <category> tags to the jboss-log4j.xml file.
Named user logging enables you to target specific users for detailed logging without changing the general logging level for the rest of the user base. Filtering log information for individual users helps troubleshoot issues in a production environment with minimal performance overhead.
Component logging enables you to log specific components of the model for troubleshooting purposes. For example, you can enable logging for a class in the business model layer, such as the user class.
Changes to the log4j configuration file can take up to one minute to take effect.