This content has been marked as final.
Show 8 replies
-
1. Re: Log4j and JBoss 4.2.3 not creating file.
jadin Feb 18, 2010 8:08 AM (in response to jadin)No idea huh? Do my files looks correct? -
2. Re: Log4j and JBoss 4.2.3 not creating file.
jaikiran Feb 18, 2010 8:14 AM (in response to jadin)Perhaps your log4j config file isn't being picked up. See if this helps http://community.jboss.org/message/198690#198690
-
3. Re: Log4j and JBoss 4.2.3 not creating file.
jadin Feb 18, 2010 8:15 AM (in response to jaikiran)I have my jboss-web.xml posted about my log4j config file in this post. -
4. Re: Log4j and JBoss 4.2.3 not creating file.
jaikiran Feb 18, 2010 8:22 AM (in response to jadin)Jadin wrote:
I have my jboss-web.xml posted about my log4j config file in this post.That's just one part of what's required to get it working. You also have to place the log4j jar and the log4j config files at the right place.
-
5. Re: Log4j and JBoss 4.2.3 not creating file.
jadin Feb 18, 2010 8:25 AM (in response to jaikiran)Log4j.jar is in the WEB-INF/lib folder and the log4j.xml is in src/main/resources along with my hibernate config. -
6. Re: Log4j and JBoss 4.2.3 not creating file.
jaikiran Feb 18, 2010 8:31 AM (in response to jadin)Jadin wrote:
the log4j.xml is in src/main/resources along with my hibernate config.You mean the final .war contains a folder named src/main/resources? Or is this your source location before the build? Where does the log4j.xml finally end up in the .war. Post the output of
jar -tf yourwar.war
-
7. Re: Log4j and JBoss 4.2.3 not creating file.
jadin Feb 18, 2010 8:53 AM (in response to jaikiran)The log4j config file deploys to
myapp.war/WEB-INF/classes
Output of jar -jt coming later.
-
8. Re: Log4j and JBoss 4.2.3 not creating file.
jadin Apr 26, 2010 10:26 AM (in response to jadin)I have jar -tf'ed the war file
Here is some of the output(just log4j stuff)
WEB-INF/classes/log4j.xml
WEB-INF/lib/log4j-1.2.15.jar
Still not creating the log file at all...