with its app server. Surprise! ;-)
-Bryan Shannon
-Original Message-
From: Richard Yee [mailto:r...@cruzio.com]
Sent: Wednesday, February 11, 2009 11:17 AM
To: user-java@ibatis.apache.org
Subject: Re: logging not working using log4j
Can you send or paste your log4j prop file. I'll try
?
Alistair.
-Original Message-
From: Stanley, Eric [mailto:eric.r.stan...@qwest.com]
Sent: 12 February 2009 21:12
To: user-java@ibatis.apache.org
Subject: RE: logging not working using log4j
I have not tried this, because I wasn't sure where I should actually make this
call
, Alistair [mailto:alistair.yo...@logica.com]
Sent: Wednesday, February 11, 2009 9:18 AM
To: user-java@ibatis.apache.org
Subject: RE: logging not working using log4j
Have you tried trying to force iBATIS to use log4j:
LogFactory.selectLog4JLogging();
From the JavaDoc:
This method will switch the logging
.
-Ryan
-Original Message-
From: Stanley, Eric [mailto:eric.r.stan...@qwest.com]
Sent: Monday, February 09, 2009 9:42 AM
To: user-java@ibatis.apache.org
Subject: RE: logging not working using log4j
Richard,
It has always been in WEB-INF/classes, and I am positive its
getting loaded
as all my selects are being populated properly. What am I
missing?
-Ryan
-Original Message-
From: Richard Yee [mailto:r...@cruzio.com]
Sent: Sunday, February 08, 2009 5:30 PM
To: user-java@ibatis.apache.org
Subject: Re: logging not working using log4j
Eric,
Did you at least see more
[mailto:eric.r.stan...@qwest.com]
Sent: 11 February 2009 16:11
To: user-java@ibatis.apache.org
Subject: RE: logging not working using log4j
Anyone have any thoughts on this? It's making me crazy. Your help is
very much appreciated.
-Ryan
-Original Message-
From: Stanley, Eric
Message-
From: Stanley, Eric [mailto:eric.r.stan...@qwest.com]
Sent: Monday, February 09, 2009 9:42 AM
To: user-java@ibatis.apache.org
Subject: RE: logging not working using log4j
Richard,
It has always been in WEB-INF/classes, and I am positive its
getting loaded properly. Like I mentioned
Nachricht-
Von: Stanley, Eric [mailto:eric.r.stan...@qwest.com]
Gesendet: Mittwoch, 11. Februar 2009 17:11
An: user-java@ibatis.apache.org
Betreff: RE: logging not working using log4j
Anyone have any thoughts on this? It's making me crazy. Your help is
very much appreciated.
-Ryan
as all my selects are being populated properly. What am I
missing?
-Ryan
-Original Message-
From: Richard Yee [mailto:r...@cruzio.com]
Sent: Sunday, February 08, 2009 5:30 PM
To: user-java@ibatis.apache.org
Subject: Re: logging not working using log4j
Eric,
Did you at least see more
Richard,
I have set it to DEBUG, still nothing.
-Ryan
-Original Message-
From: Richard Yee [mailto:r...@cruzio.com]
Sent: Saturday, February 07, 2009 12:14 AM
To: user-java@ibatis.apache.org
Subject: Re: logging not working using log4j
Set the rootlog level to debug. You might
[mailto:r...@cruzio.com]
Sent: Saturday, February 07, 2009 12:14 AM
To: user-java@ibatis.apache.org
Subject: Re: logging not working using log4j
Set the rootlog level to debug. You might have more than one log4j file
in your classpath.
-r
Sent from my iPhone
On Feb 6, 2009, at 1:25 PM, Stanley, Eric
This sounds like a class loading thing.
Where are all the relevant jars and config files?
Larry
Where did you put your log4j.properties file? It needs to be in the
classpath.
Do you get any indication that it is being read at all?
-R
Stanley, Eric wrote:
Hello,
I have a Tomcat 6 container, and my java 1.5 app is using iBATIS
2.3.4 and struts2. This is my log4.properties:
# Set
...@cruzio.com]
Sent: Friday, February 06, 2009 7:53 AM
To: user-java@ibatis.apache.org
Subject: Re: logging not working using log4j
Where did you put your log4j.properties file? It needs to be in the
classpath.
Do you get any indication that it is being read at all?
-R
Stanley, Eric wrote:
Hello,
I
: logging not working using log4j
Where did you put your log4j.properties file? It needs to be in the
classpath.
Do you get any indication that it is being read at all?
-R
Stanley, Eric wrote:
Hello,
I have a Tomcat 6 container, and my java 1.5 app is using iBATIS
2.3.4 and struts2
Subject: Re: logging not working using log4j
I recall one has to call
com.ibatis.common.logging.LogFactory.selectLog4JLogging()
before sqlmap is initialized
On Fri, Feb 6, 2009 at 4:25 PM, Stanley, Eric eric.r.stan...@qwest.com
wrote:
Richard,
I know its being read. As I
not working using log4j
Where did you put your log4j.properties file? It needs to be in the
classpath.
Do you get any indication that it is being read at all?
-R
Stanley, Eric wrote:
Hello,
I have a Tomcat 6 container, and my java 1.5 app is using iBATIS
2.3.4 and struts2. This is my log4
Hello,
I have a Tomcat 6 container, and my java 1.5 app is using iBATIS
2.3.4 and struts2. This is my log4.properties:
# Set root logger
log4j.rootLogger=INFO, R, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
18 matches
Mail list logo