cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry" <blackn...@gmail.com>
Subject Re: Problem with QueryLogger
Date Fri, 25 Jan 2008 14:29:20 GMT
Try using INFO, WARN, or DEBUG as shown here:

http://cayenne.apache.org/doc/configuring-logging.html

/dev/mrg


On Jan 25, 2008 8:29 AM, Jean-Paul Le Fèvre <jean-paul.lefevre@cea.fr> wrote:
>
> One more time I'm facing difficulties with log4j :
>
> In my webapp application QueryLogger does not print anything except at the
> beginning.
>
> In my config file I have set :
> log4j.logger.org.apache.cayenne = all
> log4j.logger.org.apache.cayenne.access.QueryLogger = all
> log4j.logger.org.apache.cayenne.conf=all
>
> When the web application context is created I see the expected messages about
> the creation of the connection pool :
>
> 14:03:55 (INFO ) <org.apache.cayenne.access.QueryLogger> Created connection
> pool
>
> But that's all. When the application is running and used no message is
> provided by the QueryLogger.
>
> I've checked the log level, the loggability of the current thread etc.,
> different strategies to load the config file but without success :(
>
> Thanks for a little help !
>
> --
> ___________________________________________________________________
>
> Jean-Paul Le Fèvre  * Mail : LeFevre@fonteny.org
>
>

Mime
View raw message