db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Minier <lool+tor...@via.ecp.fr>
Subject log4j errors with the maven plugin
Date Wed, 05 Nov 2003 10:39:18 GMT
     Hello,

 When running some goals of the maven plugin for torque, I get log4j
 errors, like in this sample output :
===========
torque:init:

torque:id-table-init-sql:
    [torque-sql] Using classpath
log4j:ERROR Could not find value for key log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named "org.apache.torque.engine".
===========

 I tried to track down the problem, and it seems to me that the torque
 plugin for maven is built within the "torque-generator" subproject
 sources, these however don't use log4j. It sounds like torque-generator
 uses commons-logging which seems to be an abstraction to use different
 logging mechanisms.

 My question is what property file should I define, so that
 commons-logging is correctly configured, and so that in turn log4j is
 properly initialized?

-- 
Loïc Minier <lool@dooz.org>

---------------------------------------------------------------------
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