private static void configLog4j() {
InputStream inStreamLog4j = DiameterFirewall.class.getClassLoader().getResourceAsStream("log4j.properties");
Properties propertiesLog4j = new Properties();
try {
propertiesLog4j.load(inStreamLog4j);
PropertyConfigurator.configure(propertiesLog4j);
} catch (Exception e) {
e.printStackTrace();
}
logger.debug("log4j configured");
}
DiameterFirewall.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:SigFW
作者:
评论列表
文章目录