add resource log4j