What are best-practice options for /etc/sysconfig/rsyslog?

Solution Verified - Updated -

Issue

  • What options should be in /etc/sysconfig/rsyslog in RHEL 5? What about RHEL 6?

  • We see a warning like the following when rsyslog starts:

    Dec  7 16:23:26 z511 rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c3 as the first rsyslogd option.
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • rsyslog or rsyslog5 or rsyslog7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.