关于log4j

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

private static Log logger  = LogFactory.getLog();
--
import org.apache.log4j.Logger;
public static Logger log = Logger.getLogger();

你可能感兴趣的:(apache,log4j)