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
In your resources/log4.properties file.
resources/log4.properties
In that configuration file, if you have "log4j.rootLogger= DEBUG, file", then don't include "log4j.logger.org.springframework=DEBUG, file". Just keep the log4j.rootLogger part.
log4j.rootLogger= DEBUG, file
log4j.logger.org.springframework=DEBUG, file