title: Java.util.logger new file every day
body: <p>I am using java.util.logging framework to implement logging in my JSF application. I have successfully done implementing this, but however I have a new requirement to rotate the logs and create a new log file for each day.</p>
  
  <p>I am not able to figure out how this can be implemented. Any hints on implementation would be highly appreciated. Thanks.</p>
  
  <p>This is how I have configured my logger:</p>
  
  <pre><code>        myLogger = Logger.getLogger("info.aio");
          fileHandler = new FileHandler("aioinfo.log", 1048576, 100, true);
          fileHandler.setFormatter(new SimpleFormatter());
          myLogger.addHandler(fileHandler);
  </code></pre>