4.2.2.1 Ensure syslog-ng service is enabled

Information

Once the syslog-ng package is installed it needs to be activated.

Rationale:

If the syslog-ng service is not activated the system may default to the syslogd service or lack logging instead.

Solution

Run the following command to enable syslog:

# chkconfig syslog on

Edit the /etc/sysconfig/syslog file and set SYSLOG_DAEMON is set to ' syslog-ng ':

SYSLOG_DAEMON='syslog-ng'

See Also

https://workbench.cisecurity.org/files/3738