I followed two approaches documented by JBOSS, i.e. RepositorySelector and MDC. Both don't work. Dont' work means it didn't generate my application owned log file. To bad
We all are having the same problem.
It seem impossible to override log4j.jar despite the wiki explanations about that.
The only one solution is to remove your log4j version and to let the one with is jboss server lib to be loaded.
This is a ugly solution.
Jboss guys have to tells us why the make things as painfull as that.
Did you solve this problem? Even i am facng the same problem. It would be of great help if you could share how you overcame this issue.