Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config


Chronological Thread 
  • From: Jeremy Palmer <>
  • To: "" <>
  • Subject: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config
  • Date: Mon, 12 May 2014 15:08:30 -0600

I just noticed that nothing is being logged in /var/log/messages (zero length files) on the majority of my toolkit hosts (all running version 3.3.2).

I took a look in /etc/rsyslog.conf on one of my boxes and I see the following config line:

*.info;mail.none;authpriv.none;cron.none ---/var/log/messages

I understand that a using a single dash in front of the log file location disables file write syncing. However, it appears that using multiple dashes breaks logging to the file altogether. Some of my toolkit hosts have two dashes in the config, some have three, and some have four dashes.

The only toolkit hosts that were actually logging to the messages file correctly where ones I've installed recently (within the last month or so).

To fix, I just removed all the extra dashes from this config line in rsyslog.conf and restarted rsyslogd.

Anyone else run into this or have any idea of how this may have happened? Perhaps certain yum updates may have added the additional dashes to the config?

--
Jeremy Palmer
Senior Network Engineer
ViaWest, Inc.
Office: 720.891.1045
Fax: 303-874-5236
http://www.viawest.com



Archive powered by MHonArc 2.6.16.

Top of Page