use log4j as logging