users@glassfish.java.net

logging from EJBs through log4j?

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 May 2008 07:40:13 PDT

We would like to use log4j (for legacy reporting requirements) with EJBs deployed in Glassfish, but I can't seem to get it to work. I've tried putting the log4j.jar in /../glassfish/lib along with the config file and adding the path to the JVM path of the server, but no luck. The log files are not being created.

Web applications that have the jar file in their WEB-INF/lib and the config file in WEB-INF/classes work fine.

Any help would be appreciated
[Message sent by forum member 'stacey11' (stacey11)]

http://forums.java.net/jive/thread.jspa?messageID=274298