Hi 
I am using log4j 1.2.8 and jboss 3.2.3. I have the applications logging settings in 
log4j.properties which is under WEB-INF/classes. 
But when running inside JBoss this log4j.properties is not detected. Instead it find 
the log4j.xml under default/conf and looks for logger names there.
If I copy the logger/category names to jbosse's log4j.xml it works.
But I want my log4j.properties to be used which is under WEB-INF/classes
I have set the UseJBossWebLoader in jboss-service.xml to false.
I was thinking may be i need to add jboss-web.xml nd set the 
java2ParentDelegation=false. 
But what do I set for loader-repostory , since this is a resource file and not an 
archive. First of all is my assumption that I need a jboss-web.xml correct ? If so, 
what should it contain ? If not, how do I make Jboss read my log4j.properties for my 
application ?

Thanks for the help
--Viv


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837572#3837572

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837572


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to