same configuration is working in AS 6 but not in AS 7.
some errors getting like deprecated log4j in JBOSS AS 7 then i configure in same standalone.xml but again problem in we cant specify the custom location of log file ?
Could be more precise on the AS 7 version you're using ? Some stuff has changed in minor version with the logging.
And how do you initialize Log4J in your application ?