Article ID: 4295, created on Mar 24, 2008, last review on May 11, 2014

  • Applies to:
  • Sphera

Symptoms

How to disable logs from being written into /var/log/messages?

Resolution

It is possible to disable the messages of SD to the log - /var/log/messages.
Open the hostdir.xml file and look for the value of the property "log_target".
For example:
log_target="local6"

Once you have the value, edit syslog.cong (/etc/syslog.conf) and add the following under the line:
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none;local6.none /var/log/messages (add: local6.none)

Each Server might have a different value (it is not always "local6")

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF