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.lefevr..ea.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 : LeFevr..onteny.org
>
>
This archive was generated by hypermail 2.0.0 : Fri Jan 25 2008 - 09:29:52 EST