I have a commons-logging.properties in src/main/resources:

org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

Matt


mraible wrote:
> 
> I've copied HibernateExporterMojo into a mojo I'm creating and I'm trying
> to suppress the following logging:
> 
> [INFO] No hibernate properties file loaded.
> [INFO] executing:
> /Users/mraible/Work/appfuse-2.0/plugins/appfuse-maven-plugin/target/test-classes/annotationconfiguration/gen-config.xml
> [INFO] Configuration XML file loaded:
> /Users/mraible/Work/appfuse-2.0/plugins/appfuse-maven-plugin/target/test-classes/annotationconfiguration/hibernate.cfg.xml
> [INFO] Configuration XML file loaded:
> /Users/mraible/Work/appfuse-2.0/plugins/appfuse-maven-plugin/target/test-classes/annotationconfiguration/hibernate.cfg.xml
> [INFO] src/main/resources/database.properties not found within the
> project. Trying absolute path.
> 
> Adding a log4j.properties into src/main/resources doesn't have any effect.
> I've even tried modifying the getClassLoader() method but still no luck.
> 
> Any ideas?
> 
> Thanks,
> 
> Matt
> 

-- 
View this message in context: 
http://www.nabble.com/-hibernate3--Extending-HibernateExporterMojo-and-turning-down-logging-tf4362781.html#a12436507
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to