logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Unable to log from a jar library (oc4j)
Date Wed, 14 Jun 2006 18:01:49 GMT
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 <gus_ds2000-blog@yahoo.it> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message