Which version of JBoss do you use? Where have you placed your log4j configuration file? Also, see my comments in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128979 which might help you in figuring out whether your log4j file is being picked up.
thank you very much for your help. i will take a look at that link!