Fixes #5799: Correct syslog-ng configuration maintenance

Ticket: https://www.rudder-project.org/redmine/issues/5799

To be merged in 2.6