使用Properties文件来对Log4j进行配置


Log4j will be usually configured using a properties file or xml file externally. So once the log statements are in place you can easily control them using the external configuration file without modifying the source code. Now let’s see how you can obtain the same log output as the previous example using the properties file [...]

简单的Log4j配置


在struts2的网站上看到一个不错的网站:http://www.vaannila.com 看到里面的一些文章很不错。从今天开始陆续翻译一些文章。今天开始翻译Log4j。