From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27697 invoked by alias); 12 Oct 2005 08:40:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27680 invoked by uid 22791); 12 Oct 2005 08:40:08 -0000 Received: from mail-n.franken.de (HELO ilsa.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 12 Oct 2005 08:40:08 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) by ilsa.franken.de (Postfix) with ESMTP id BFB76245C3 for ; Wed, 12 Oct 2005 10:40:06 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id B7C34AAFF6 for ; Wed, 12 Oct 2005 10:40:05 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id 994E4544123; Wed, 12 Oct 2005 10:40:05 +0200 (CEST) Date: Wed, 12 Oct 2005 08:40:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Logger logs as user.notice Message-ID: <20051012084005.GX12938@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <434BD188.2040106@sgi.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <434BD188.2040106@sgi.es> User-Agent: Mutt/1.4.2i X-SW-Source: 2005-10/txt/msg00287.txt.bz2 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/