public static void main(String args[]) {
PropertyConfigurator.configure("c:\\dizin\\log4j.properties");
log = Logger.getLogger("class adı");
log.info("deneme");
}
Tags: log4j, log4j.properties
This entry was posted
on Friday, March 5th, 2010 at 15:53 and is filed under Java, Yazılım.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Cevap veya Yorum Yaz