title: Two files in /etc/logrotate.d/ trying to manage the same log file
body: <p>If there are two separate config files in /etc/logrotate.d/ that are trying to manage the same log file in different ways, what happens? Is one preferred over the other? Would I have to delete one of the config files?</p>
  
  <p>For example:
  Two configurations - /etc/logrotate.d/A and /etc/logrotate.d/B</p>
  
  <p>Contents of A:</p>
  
  <pre><code>/var/log/example.log {
      rotate 4
      weekly
  }
  </code></pre>
  
  <p>Contents of B:</p>
  
  <pre><code>/var/log/example.log {
      rotate 3
      weekly
      compress
  }
  </code></pre>