Add -Dlog4j.debug to the command line to see how log4j is being configured. If you are using a config file, where do you keep it?
On 6/14/06, GDS <[EMAIL PROTECTED]> wrote:
Hi all, I'm facing the following strange (at least for me:) problem: I have developed a very simple library (let's say a.jar) using log4j as logging tool. When I use this library a.jar within a web application (so /WEB-INF/lib/a.jar) a get no message from the classes in a.jar. If I unzip the classes from a.jar in /WEB-INF/classes everything works: i.e. a get the logging message according to the configuration. Do you have any idea? I'm using Oracle OC4J Thanks gds -- View this message in context: http://www.nabble.com/Unable-to-log-from-a-jar-library-%28oc4j%29-t1787454.html#a4869031 Sent from the Log4j - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]