log4j harici properties dosyası okuma

public static void main(String args[]) {
  PropertyConfigurator.configure("c:\\dizin\\log4j.properties");
  log = Logger.getLogger("class adı");
  log.info("deneme");
}
Bookmark and Share
Tags: ,

Related posts