db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hill <RH...@classmates.com>
Subject log4j:WARN No appenders could be found for logger
Date Tue, 14 Oct 2003 19:31:56 GMT
Hi, I'm trying a torque example: Installing and Using the Torque Object
Mapper by James M. Turner, using torque-3.0.2. I just ran build-torque.xml
and I'm getting several warning messages:

[torque-sql] log4j:WARN No appenders could be found for logger
(org.apache.torque.engine.database.transform.DTDReso
lver).
[torque-sql] log4j:WARN Please initialize the log4j system properly.

I'm not familiar with log4j...how do you initialize the log4j system
properly?

Thanks,
Richard


---------------------------------------------------------------------------
  Full build output:
---------------------------------------------------------------------------
C:\myDev\torque3.0.2_pitcher_example>ant -f build-torque.xml
Buildfile: build-torque.xml

main:

check-use-classpath:

check-run-only-on-schema-change:

sql-check:

sql:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating SQL for YOUR Torque project!  |
     [echo] | Woo hoo!                                 |
     [echo] |                                          |
     [echo] +------------------------------------------+

sql-classpath:

sql-template:
[torque-sql] Using contextProperties file:
C:\myDev\torque3.0.2_pitcher_example\build.properties
[torque-sql] Generating to file
C:\myDev\torque3.0.2_pitcher_example\src\sql\report.pitchers.sql.generation
[torque-sql] Parsing file: 'id-table-schema.xml'
[torque-sql] log4j:WARN No appenders could be found for logger
(org.apache.torque.engine.database.transform.DTDReso
lver).
[torque-sql] log4j:WARN Please initialize the log4j system properly.
[torque-sql] Parsing file: 'pitchers-schema.xml'

check-use-classpath:

check-run-only-on-schema-change:

om-check:

om:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating Peer-based Object Model for   |
     [echo] | YOUR Torque project! Woo hoo!            |
     [echo] |                                          |
     [echo] +------------------------------------------+

om-classpath:

om-template:
[torque-data-model] Using contextProperties file:
C:\myDev\torque3.0.2_pitcher_example\build.properties
[torque-data-model] Generating to file
C:\myDev\torque3.0.2_pitcher_example\src\java\report.pitchers.om.generation
[torque-data-model] Parsing file: 'pitchers-schema.xml'
[torque-data-model] log4j:WARN No appenders could be found for logger
(org.apache.torque.engine.database.transform.
DTDResolver).
[torque-data-model] log4j:WARN Please initialize the log4j system properly.

BUILD SUCCESSFUL
Total time: 41 seconds
C:\myDev\torque3.0.2_pitcher_example>



















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