add log4j resource file