title: How do i modify a log format with Simple Formatter?
body: <p>I've tried adding this line into logging.properties, but the output doesn't change</p>
  
  <p><code>java.util.logging.SimpleFormatter.format='%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n'</code></p>
  
  <p>I also tried System.setProperty, but it still doesn't work, what am i doing wrong?</p>
  
  <pre><code>import java.util.*;
  import java.util.logging.Logger;
  import java.util.logging.SimpleFormatter;
  import java.io.*;
  import java.awt.*;
  
  public class LoggerFormat
  {
  private static final Logger logger = Logger.getLogger(LoggerFormat.class.getName());
  
  public static void main(String[] args)
  {
      System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tF %1$tT %4$s %2$s %1$tL");
      SimpleFormatter sf = new SimpleFormatter();
      System.out.println("-- main method starts --");
      logger.info("in LoggerFormat");
      logger.warning("a test warning");
  }
  }
  </code></pre>