parameterize logrotated files

Parameterization of the file list to be logrotated by /etc/logrotate.d/syslog.
This also fixes problems with different names and files for different OS families.
We don't want duplicates in logrotate lists. unique() should only be used with arrays. On a string, it will remove duplicate letters instead.