Reduce syslog redundancy in linux-stemcells
we observed that in the current configuration BOSH-deployed VMs consume a lot of disk space by writing redundant log files. As an example, currently syslog writes all output to /var/log/syslog and /var/log/messages. This seems to be due to the compatibility to CentOS and Ubuntu default behaviour.
To reduce the redundancy in the logs of bosh-deployed VMs, we want to change the rsyslog config file. We propose the following changes:
- As default log file use /var/log/syslog on Ubuntu and /var/log/messages on CentOS
- Don't write debug, lpr.log, mail.*, user.log and news.* files.
Please review our PR and let us know if you have any objections, which might be the case if you rely on the current behaviour.
Kai & Manuel