title: syslog: on ubuntu, how to configure rotation and gzip'ing of syslog files?
body: <p>how do you configure rotation of syslog log files on ubuntu?</p>
  
  <p>in my /etc/syslog.conf, i have this line:</p>
  
  <p>local1.*  /var/log/log.txt</p>
  
  <p>over time, the following backup files have appeared:</p>
  
  <p>/var/log/log.txt.0.gz
  /var/log/log.txt.1.gz</p>
  
  <p>how do i configure how often these files get generated, and how to clean them out?</p>