I am using log4j to log error and other system information. but come of the info logged twice at INFO level.
public static void main(final String... args) throws
Agree with atlantis.
log4j.rootCategory=INFO, console
log4j.logger.org.hibernate=INFO
The above property settings will cause double logging.
However adding
log4j.additivity.org.hibernate=false
fixed the issue.
Check out page 62 of this book. http://books.google.com/books?id=hZBimlxiyAcC&printsec=frontcover#v=onepage&q&f=false