perfsonar-user - Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config
Subject: perfSONAR User Q&A and Other Discussion
List archive
Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config
Chronological Thread
- From: Andrew Grabowski <>
- To: Jeremy Palmer <>
- Cc: "" <>
- Subject: Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config
- Date: Tue, 13 May 2014 10:26:01 -0400
Hi Jeremy,
I had similar problems with /var/log/messages. I noticed this when I did a fresh install of the CentOS OS and installed perfSONAR via yum.
Thank you,
Andrew Grabowski
On Mon, May 12, 2014 at 5:08 PM, Jeremy Palmer <> wrote:
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
- [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config, Jeremy Palmer, 05/12/2014
- Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config, Andrew Grabowski, 05/13/2014
- Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config, Andrew Lake, 05/13/2014
- Re: [perfsonar-user] No logs in /var/log/messages, multiple dashes in rsyslog.conf config, Andrew Grabowski, 05/13/2014
Archive powered by MHonArc 2.6.16.