Init syslog settings before using the array. Fixes #8905
(cherry picked from commit 508c66ace779a6021b217d055b53587fdb021fec)
Init syslog settings before using the array. Fixes #8905
(cherry picked from commit 508c66ace779a6021b217d055b53587fdb021fec)