Why can't I get syslog to log to a different directory?

Solution Unverified - Updated -

Issue

  • We have two local values in /etc/syslog.conf

    # Application logging  
    local5.\*          /logs/application  
    local6.\*          /logs/rt-application
    
  • but all the system logging messages are going to /var/log/messages instead of /logs/\* as stated in /etc/syslog.conf

Environment

  • Red Hat Enterprise Linux 5

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.