ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From max_lazz...@tiscali.it
Subject RE: Logging?
Date Wed, 10 Aug 2005 16:48:26 GMT
Sorry for my ignorance, what is the "log4j.PropertyConfigurator.configure",
I only have the log4j.properties file located in my "WEB-INF\classes" project

How\Where should I use "log4j.PropertyConfigurator.configure" ?

thanks in advance

>-- Messaggio Originale --
>Reply-To: user-java@ibatis.apache.org
>Subject: RE: Logging?
>Date: Wed, 10 Aug 2005 17:31:18 +0100
>From: "James, Steven" <Steven.James@logicacmg.com>
>To: <user-java@ibatis.apache.org>
>I use log 4j on do not have any problems with ibatis debug are you seting
>the log4j.PropertyConfigurator.configure  wilth your properties?
>From: max_lazzari@tiscali.it [mailto:max_lazzari@tiscali.it]
>Sent: Wed 10/08/2005 16:57
>To: user-java@ibatis.apache.org; user-java@ibatis.apache.org
>Subject: Re: Logging?
>I had "commons-logging.jar" and "log4j-1.2.8.jar" in my project classPath
>and didn't see logs from iBatis.
>I tried to add even "commons-logging-api.jar" to the classPath but nothing
>I'm starting thinking it is Rational (WebSphere Studio) having some problems
>in showing logs.
>Just for your info I can see logs that I "call" programmatically with "log.debug(...)"
>Still investigating for a solution to this problem.
>>-- Messaggio Originale --
>>Reply-To: user-java@ibatis.apache.org
>>Date: Wed, 10 Aug 2005 15:40:15 +0300
>>From: Eugeny N Dzhurinsky <eugenydzh@jdevelop.com>
>>To: user-java@ibatis.apache.org
>>Subject: Re: Logging?
>>On Wed, Aug 10, 2005 at 07:36:19AM -0500, Mitchell, Steven C wrote:
>>> That is a question for IBM.  If you have a JUnit test you can run from
>>> command line logging works fine and you can see all the detail you need.
>> It
>>> just doesn't work from inside of RAD.  Let me know if you find the answer
>>> because I have the same issue. 
>>I don't think it's IBM-related issue. I've tried to use the iBATIS 2.1.5
>>the commons-logging libraries in the classpath, and w/o any luck (JDK
>>1.4.2_p7), but when I added the commons-logging-api.jar and
>>commons-logging.jar to the classpath - I started to see the debug messages
>>from the ibatis. If i remove these 2 libraries - it won't work.
>>Eugene N Dzhurinsky
>Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone Telecom
>a partire da 19,95 Euro/mese.
>Attivala entro il 31 agosto, il primo MESE è GRATIS! CLICCA QUI.
>This e-mail and any attachment is for authorised use by the intended recipient(s)
>only. It may contain proprietary material, confidential information and/or
>be subject to legal privilege. It should not be copied, disclosed to, retained
>or used by, any other party. If you are not an intended recipient then please
>promptly delete this e-mail and any attachment and all copies and inform
>the sender. Thank you.
>Allegato: winmail.dat

Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone Telecom
a partire da 19,95 Euro/mese.
Attivala entro il 31 agosto, il primo MESE è GRATIS! CLICCA QUI.

View raw message