common.Logger logger = common.Logger.getLogger(xxx.class);
logger.debug("Hello Log4j, this is debug message");
private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(xxx.class);
log.debug("Hello Log4j, this is debug message");