Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/