title: How to change file permission for apache log rotation
body: <p>From my linux server, I deployed one web application on tomcat server. And I configured log4j to write log and rotate every hour. But when it create new log every times, it use "640" file permission by default.</p>
  
  <blockquote>
    <p>rw-r----- 1 myuser myuser       664 Jun  6 11:00 mylog.log</p>
  </blockquote>
  
  <p>I am not quite sure where the configuration did for log rotation with 640 permission. I didn't define in my log4j configuration.</p>
  
  <p>Please kindly advise me where I can change file permission for newly log rotation of my log4j files?</p>
  
  <p>Thanks,
  Tun</p>