delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/11/10:50:21

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
Message-ID: <434BD188.2040106@sgi.es>
Date: Tue, 11 Oct 2005 16:51:52 +0200
From: Jaime Saiz Santos <jsaiz AT sgi DOT es>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:1.0.1) Gecko/20020823 Netscape/7.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Logger logs as user.notice

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?


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?

Thank you very much,
Jaime



______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

--
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