added customized log4j for manual deployment