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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content