add log4j and common-logging