Hi all,
I was hoping that someone would have an idea as to how I can configure
the log4j system so that DDLUtils log messages are output to the console
when running Ant tasks.
For example, here's the main portion of an Ant task labelled db.clean:
<ddl_to_db schemaFile="${ddlutils.dir}/empty_schema.xml"
databaseType="${db.type}" validateXml="false">
<database url="${db.url}" driverClassName="${db.driver}"
username="${db.user}" password="${db.password}" />
<writeSchemaToDatabase alterDatabase="true" />
</ddl_to_db>
Here's the command line output:
$ ant -Ddb.props=database/ddlutils/oracle.properties db.clean
[ddl_to_db] log4j:WARN No appenders could be found for logger
org.apache.commons.digester.Digester).
[ddl_to_db] log4j:WARN Please initialize the log4j system properly.
This is important as it would give us clues as to why the Ant tasks fail
for situtations like all the Oracle tablespace is used up etc...
Thanks in advance,
Guy