delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/10/08:24:56

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: Mon, 10 Oct 2005 14:24:43 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: log to a remote syslogd
Message-ID: <20051010122443.GB12938@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <434A53C5 DOT 6070708 AT sgi DOT es>
Mime-Version: 1.0
In-Reply-To: <434A53C5.6070708@sgi.es>
User-Agent: Mutt/1.4.2i

On Oct 10 13:43, Jaime Saiz Santos wrote:
> >> Hi.
> >> Is it possible to log messages to a remote syslogd server?
> >> In theory it could be done by putting something like "*.*         
> >> @hostname" in /etc/syslog.conf.
> >
> >Why don't you just try?
> 
> 
> Sorry.
> I haven't said I have tried it before: it works for a local file, but it 
> does not work (for me) to a remote syslogd.
> So hence the question.
> 
> I've looked at previous posts about this issue, but they were more than 
> a year old, so I hoped the problem could be solved now.
> 
> I put "local1.*            @hostname" in syslog.conf
> 
> and then:
> 
> $ net stop syslogd
> $ net start syslogd
> $ logger -p local1.info Message to hostname
> 
> But I don't found the message anywere, nor in the local 
> /var/log/messages nor in the remote one.

You must allow logging from remote hosts on the target machine.  See the
syslogd -s option.  Remote logging from a Cygwin client syslogd to a
Linux syslogd works fine here.


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