title: yii 1.X application log issue
body: <p>i have application that is hosted on Amazon EC2 instances 
  i log my application using Yii 1.X Logger like this </p>
  
  <p><code>Yii::log("Something i Log Here...", "info");</code></p>
  
  <p>aaand , as we all know , i log my files into 
  <code>WEBROOT/protected/runtime/application.log</code>  file.
  Because of many logs i use, application.log file fill so quick , and , as i see , Yii or server change that file to application.log.1 and creates a new file called <code>application.log</code> .</p>
  
  <p>My Question is , why, when new <code>application.log</code> file is created , Owner and Group are like some user <code>nobody</code>, and , when the new file is created, my code such as logging doesn't work anymore , no good permissions for writing into file as <code>www-data</code> user. Are there any chances to create new <code>application.log</code> file as user different as <code>NOBODY</code>?</p>
  
  <blockquote>
    <p>I will provide Image , and look closer to <code>application.log.3</code>
    ownership, same is happening with <code>application.log</code> , but i've changed
    the permissions by command</p>
  </blockquote>
  
  <p>Image: <a href="https://i.stack.imgur.com/fIYYM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fIYYM.png" alt="1"></a></p>
  
  <p>Anyone Please Help me about this. </p>