Configuring syslog-ng in CentOS/RHEL 7

For a number of reasons, rsyslog is installed in the default CentOS, I do not like. I love when the logs are sorted by year, month, facility, priorities. So the first thing I change rsyslog in syslog-ng. To do this, do the following:

Update from 2015-12-18: Don’t forget to read this post.


  1. Hi,

    cd /

    mkdir logcentral

    I have changed the:

    template(“$FULLDATE $MSGHDR$MSG\n”)
    But it doesn’t work ? Can you help ?


Leave a Reply