log4j.rootLogger = INFO, torque-gen
# # Turbine goes into Turbine Log # log4j.category.org.apache.torque-gen = DEBUG, org.apache.torque.engine log4j.additivity.org.apache.torque-gen = false
log4j.appender.torque-gen = org.apache.log4j.ConsoleAppender log4j.appender.torque-gen.layout = org.apache.log4j.PatternLayout log4j.appender.torque-gen.layout.conversionPattern = %d [%t] %-5p %c - %m%n
(Taken from src/generator/src/conf/log4j.properties.)
Sheng Guo wrote:
Hello,
I have a similar problem. I wrote a sql file, and used it to generate the tables in the PostgreSQL database. And now I want to generate a project-schema.xml with the exiting .sql file, but it failed.
In the build-torque.xml I have the following code:
<target name="sql2xml" description="==> creates an xml schema from an sql schema">
<torque-sql-transform inputFile="${torque.schema.dir}/schema.sql" outputFile="${torque.schema.dir}/schema.xml" /> </target>
and I tried ant -f build-torque.xml sql2xml , but there was alway a problem:
C:\SEP\gogol\components\cnt>ant -f build-torque.xml sql2xml Buildfile: build-torque.xml
sql2xml:
[torque-sql-transform] Parsing SQL Schema
[torque-sql-transform] log4j:ERROR Could not find value for key log4j.appender.o
rg.apache.torque.engine
[torque-sql-transform] log4j:ERROR Could not instantiate appender named "org.apa
che.torque.engine".
After that the programm stopped. What is wrong here?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
