use external source for endpoint reading, add log4j properties file