use log4cpp to log