DTRT when generating the syslog configuration.

This resolves issues with proftpd starting properly.

Ticket: #3218