use log4j to improve the logging support.