I am trying to use Log4j in a servlet deployed in JBoss 3.2.1.
I pub log4j.jar in WEB-INF/lib, and put log4j.xml in WEB-INF/classes
But I'm not getting any logging. If I run my logging code in a standalone app with my log4j.xml, it works. Might this have to do with a classloader setting?
Any help will be greatly appreciated.
Thanks
You most likely need to put your log config into JBoss/conf/log4j.xml file.
-- Juha