title: how to generate the instance for logger?
body: <p>Here is my code</p>
  
  <pre><code>package com.my;
  import org.apache.log4j.spi.LoggerFactory;
  import java.io.*;
  import java.util.logging.*;
  
  public class Log {
        public static void main(String[] args) {
        try{
             FileHandler hand = new FileHandler("vk.log");
             Logger log = Logger.getLogger("log_file");
             log.addHandler(hand);
             log.warning("Doing carefully!");
             log.info("Doing something ...");
             log.severe("Doing strictily ");
             System.out.println(log.getName());
        }
        catch(IOException e){
             System.out.println(e)
        }
      }
  </code></pre>
  
  <p>}</p>