db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles-Alexandre Sabourdin <kan...@dedaletechnology.com>
Subject Re: Torque and logging
Date Tue, 02 Dec 2003 13:10:25 GMT
That might be because you did not start log4j in your main() methode

Le Lundi 1 Décembre 2003 23:29, Graham Leggett a écrit :
> Hi all,
>
> In my torque.properties file, I have configured logging like so:
>
> log4j.rootCategory = DEBUG, patricia
> log4j.appender.patricia = org.apache.log4j.FileAppender
> log4j.appender.patricia.file = /tmp/torque.log
> log4j.appender.patricia.layout = org.apache.log4j.SimpleLayout
>
> torque.applicationRoot = .
>
> torque.database.default=patricia
> torque.database.patricia.adapter=postgresql
>
> ## Using JNDI
> torque.dsfactory.patricia.factory=org.apache.torque.dsfactory.JndiDataSourc
>eFactory
> torque.dsfactory.patricia.jndi.path=java:comp/env/jdbc/GlobalPatricia
>
> However, for some reason no log file appears in /tmp. Can anyone see
> anything wrong in this config?
>
> Regards,
> Graham
> --
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org

-- 
Charles-Alexandre
SABOURDIN
-----------------


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message