### This file is used to control the logging done by the hibernate tools eclipse plugins
### You can modfiy these to be more or less verbose depending on your needs

### Direct messages to Eclipse logging system (will be shown in Error Log)
log4j.appender.eclipselog=org.hibernate.eclipse.logging.PluginLogAppender
log4j.appender.eclipselog.layout=org.apache.log4j.PatternLayout
log4j.appender.eclipselog.layout.ConversionPattern=%d{ISO8601} %p %t %c - %m

### Direct messages from Eclipse loggin system to .metadata/plugins/org.hibernate.eclipse/hibernate-tools.log 
log4j.appender.pluginlog=org.hibernate.eclipse.logging.PluginFileAppender
log4j.appender.pluginlog.File=hibernate-tools.log
log4j.appender.pluginlog.MaxFileSize=1MB
log4j.appender.pluginlog.MaxBackupIndex=1
log4j.appender.pluginlog.layout=org.apache.log4j.PatternLayout
log4j.appender.pluginlog.layout.ConversionPattern=%d{ISO8601} %-6r [%15.15t] %-5p %30.30c %x - %m\n

### set log levels - for more verbose logging change 'info' to 'debug' ###
log4j.rootLogger=warn, eclipselog, pluginlog

log4j.logger.org.hibernate=warn

# Disable superflous PARSER errors.
log4j.logger.org.hibernate.PARSER=none

### log just the SQL
#log4j.logger.org.hibernate.SQL=debug

### log JDBC bind parameters ###
#log4j.logger.org.hibernate.type=info

### log schema export/update ###
#log4j.logger.org.hibernate.tool.hbm2ddl=debug

### log cache activity ###
#log4j.logger.org.hibernate.cache=debug

### log JDBC resource acquisition
#log4j.logger.org.hibernate.jdbc=debug

### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
