You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2006/03/09 16:39:40 UTC

[OT]logging using log4j

Hi
I am using ibatis for sql mapping in my web
application, i am also using log4j for logging, 
I have a XML file which i load at startup where I
setup logging parameters and logging levels,
Can i use this XML file to setup ibatis logging
parameters?
Suppose i have to add following line 
log4j.logger.com.ibatis=DEBUG
How do i add it in XML file

Ashish

A$HI$H

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: [OT]logging using log4j

Posted by Larry Meadors <lm...@apache.org>.
http://wiki.apache.org/logging-log4j/Log4jXmlFormat

On 3/9/06, Ashish Kulkarni <ku...@yahoo.com> wrote:
> Hi
> I am using ibatis for sql mapping in my web
> application, i am also using log4j for logging,
> I have a XML file which i load at startup where I
> setup logging parameters and logging levels,
> Can i use this XML file to setup ibatis logging
> parameters?
> Suppose i have to add following line
> log4j.logger.com.ibatis=DEBUG
> How do i add it in XML file
>
> Ashish
>
> A$HI$H
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>