'How to configure JBoss 5.1.0.GA to use Log4j2.16.0?

I want to upgrade log4j in Jboss 5.1.0 GA to log4j 2.16.0 . I want to know which jar file i have to replace and what changes is need to be done in log4j.xml file at location /JBOSS_HOME/server/default/conf . Kindly also let me know if i need to do any other changes .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source