Log4j gives you posibility to log data into console and file at same time.
Create a log4j.properties file and put inside this basic configuration:
# Root logger option
log4j.rootLogger=DEBUG, stdout, file
# Redirect log messages to console
log4j.appender.stdout=org.apache.log4j.ConsoleAppende...