java或配置文件一种方式:

URL url = RunService.class.getResource("/bootlog4j.conf");
		PropertyConfigurator.configure(url);