delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/12/04:40:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 12 Oct 2005 10:40:05 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Logger logs as user.notice
Message-ID: <20051012084005.GX12938@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <434BD188 DOT 2040106 AT sgi DOT es>
Mime-Version: 1.0
In-Reply-To: <434BD188.2040106@sgi.es>
User-Agent: Mutt/1.4.2i

On Oct 11 16:51, Jaime Saiz Santos wrote:
> Hi.
> I have two questions regarding syslog & logger in inetutils package:
> 
> 
> 1. logger command seems to ignore -p option: it behaves as if 
> "user.notice" were put always.
> 
> For instance:
> 
> $ cat /etc/syslog.conf
> local3.*                /var/log/local3
> user.notice                /var/log/user
> 
> $ net stop syslogd
> $ net start syslogd
> $ logger -p local3.info Some message
> 
> It writes the message in /var/log/user, instead of in /var/log/local3.
> Am I doing something wrong?

Nope.  Cygwin is doing something wrong.  Cygwin's syslog function fails
to send the facility and priority word to syslogd.  Fixed in CVS.

> 2. A blank space is written between the tag and the colon in the output 
> message.
> 
> For instance:
> 
> Oct 11 16:45:00 mymachine mytag : Some text         instead of:
> Oct 11 16:45:00 mymachine mytag: Some text
> 
> Is it standard?

No, it's not.  I removed the extra spaces from the output in CVS.


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019