why dont you change jboss-log4j.xml config instead - you can provide all required parameters for your own class hierarchy in the config file instead of playing around with separate log4j config instance
Hi Anton, the problem is that i have anothers aplication deployed with a similar class hierachy , and jboss prints all the others aplication logs inside my log file.
app1 - com.test,test1
app2 - com.test.test2
When i configure for app2 all of app1 appears too.