ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Chew <chew.a...@gmail.com>
Subject Re: how can i get attribute from inbed object?
Date Thu, 24 Nov 2005 04:46:57 GMT
nothing changed. :(
following is my log4j.properties

# Global logging configuration
log4j.rootLogger=DEBUG, stdout

# SqlMap logging configuration...
log4j.logger.com.ibatis=DEBUG
log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG
log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG
log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=DEBUG
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
log4j.logger.java.sql.ResultSet=DEBUG

# Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n



On 11/24/05, Larry Meadors <lmeadors@apache.org> wrote:
>
> On 11/23/05, Alex Chew <chew.alex@gmail.com> wrote:
> > by the way, how can i turn log4j on in web application(WAR)?
> > i tried to put my log4j.properties in WEB-INF/, but no logs displayed on
> > console
>
> Put it in WEB-INF/classes instead.
>
> Larry
>

Mime
View raw message