This content has been marked as final.
Show 4 replies
-
1. Re: JBoss 7 AS with slf4j-log4j and log4j.xml in the application
jaikiran Aug 18, 2011 3:35 AM (in response to dkumaran)kumaran d wrote:
so current issue is that i have log4j.xml in my application WEB-INF\ folder and it's not able load and log into the specified File.
Move it to WEB-INF/classes folder.
-
2. Re: JBoss 7 AS with slf4j-log4j and log4j.xml in the application
dkumaran Aug 18, 2011 5:48 AM (in response to jaikiran)Jaikiran,
Thanks for your reply. i have tried this option as well but still it's not working..
-
3. Re: JBoss 7 AS with slf4j-log4j and log4j.xml in the application
dkumaran Sep 6, 2011 5:52 AM (in response to dkumaran)Jboss 7 and slf4j integration is working and sample source is attached in the following thread.
-
4. Re: JBoss 7 AS with slf4j-log4j and log4j.xml in the application
salik Feb 15, 2013 9:28 AM (in response to dkumaran)It was working with this configuration:
/WEB-INF/jboss-deployment-structure.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.apache.log4j" />
<module name="org.slf4j" />
<module name="org.slf4j.impl" />
</exclusions>
</deployment>
</jboss-deployment-structure>